aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web/components/ui/skeleton.tsx
blob: 5fab2023461b95e12896fc19f8230576e6be2b8b (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("bg-muted animate-pulse rounded-md", className)}
      {...props}
    />
  );
}

export { Skeleton };