daphnis/components/ui/skeleton.tsx
2024-06-29 01:22:22 -04:00

16 lines
261 B
TypeScript

import { cn } from "@/lib/utils"
function Skeleton({
className,
...props
}: React.HTMLAttributes<HTMLDivElement>) {
return (
<div
className={cn("animate-pulse rounded-md bg-muted", className)}
{...props}
/>
)
}
export { Skeleton }