summaryrefslogtreecommitdiff
path: root/apps/web/src/components/ui/skeleton.tsx
blob: 4525c3a03daaf5290c0faa471bcd0827f9f5cd60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { cn } from "../../lib/utils";

function Skeleton({
  className,
  ...props
}: React.HTMLAttributes<HTMLDivElement>) {
  return (
    <div
      className={cn("animate-pulse rounded-md bg-primary/10", className)}
      {...props}
    />
  );
}

export { Skeleton };