aboutsummaryrefslogtreecommitdiff
path: root/jb-ui/src/components/ui/skeleton.tsx
blob: 01689981c169cb8d70af0a3ee1b3b57d41ebfee1 (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("bg-accent animate-pulse rounded-md", className)}
      {...props}
    />
  );
}

export { Skeleton };