update packages
This commit is contained in:
13
packages/ui/src/skeleton.tsx
Normal file
13
packages/ui/src/skeleton.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { cn } from '@gib/ui';
|
||||
|
||||
function Skeleton({ className, ...props }: React.ComponentProps<'div'>) {
|
||||
return (
|
||||
<div
|
||||
data-slot='skeleton'
|
||||
className={cn('bg-accent animate-pulse rounded-md', className)}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
export { Skeleton };
|
||||
Reference in New Issue
Block a user