aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/components/ui/skeleton.tsx
blob: 32ea0ef7fb4d4f7cb0affa7a3b329533b5f2af23 (plain) (blame)
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 }