mirror of
https://github.com/khairul169/code-share.git
synced 2025-04-29 00:59:37 +07:00
16 lines
283 B
TypeScript
16 lines
283 B
TypeScript
import { cn } from "~/lib/utils"
|
|
|
|
function Skeleton({
|
|
className,
|
|
...props
|
|
}: React.HTMLAttributes<HTMLDivElement>) {
|
|
return (
|
|
<div
|
|
className={cn("animate-pulse rounded-md bg-slate-100 dark:bg-slate-800", className)}
|
|
{...props}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export { Skeleton }
|