Add: shadcn skeleton component

This commit is contained in:
Aroy-Art 2025-03-12 20:23:50 +01:00
parent 419b2d825e
commit a8c3a67230
Signed by: Aroy
GPG key ID: 583642324A1D2070

View file

@ -0,0 +1,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 }