svrjs-nextjs-website/components/ui/skeleton.tsx
2024-07-28 16:22:13 +05:30

15 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 }