初始化模版工程
This commit is contained in:
19
components/ui/skeleton.tsx
Normal file
19
components/ui/skeleton.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import { cn } from '@/utils/cn'
|
||||
|
||||
function Skeleton({
|
||||
className,
|
||||
...props
|
||||
}: React.HTMLAttributes<HTMLDivElement>) {
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
'animate-pulse rounded-md bg-muted',
|
||||
'dark:bg-white/[0.08]',
|
||||
className
|
||||
)}
|
||||
{...props}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
export { Skeleton }
|
||||
Reference in New Issue
Block a user