portal-dashboard/app/components/ui/skeleton.tsx

16 lines
262 B
TypeScript
Raw Normal View History

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