svrjs-nextjs-website/components/ui/skeleton.tsx

16 lines
261 B
TypeScript
Raw Normal View History

2024-07-30 21:17:07 +02:00
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 }