summaryrefslogtreecommitdiff
path: root/src/components/ui/skeleton.tsx
blob: 24d6b2f23254de741dcf87928d6e4ae5124d50f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { cn } from '@/lib/utils';

function Skeleton({ className, ...props }: React.ComponentProps<'div'>) {
  return (
    <div
      data-slot='skeleton'
      className={cn('animate-pulse rounded-md bg-accent', className)}
      {...props}
    />
  );
}

export { Skeleton };