Skip to content
Source
Sign inSign up
TanStack/cli
Open History to see the last commit

skeleton.tsx

13 lines280 Bytes

1import { cn } from '../../lib/utils'
2​
3function Skeleton({ className, ...props }: React.ComponentProps<'div'>) {
4 return (
5 <div
6 data-slot="skeleton"
7 className={cn('bg-accent animate-pulse rounded-md', className)}
8 {...props}
9 />
10 )
12​
13export { Skeleton }