mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-22 20:47:44 +00:00
14 lines
279 B
TypeScript
14 lines
279 B
TypeScript
import { cn } from '@/ui/lib/utils'
|
|
|
|
function Skeleton({ className, ...props }: React.ComponentProps<'div'>) {
|
|
return (
|
|
<div
|
|
data-slot="skeleton"
|
|
className={cn('animate-pulse rounded-md bg-accent', className)}
|
|
{...props}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export { Skeleton }
|