a8a0b7db1b
* wip * wip * wip * format * wip(mobile): lint and format * cleanup * nits * nits * idiomatic react * nit * format all root files
14 lines
278 B
TypeScript
14 lines
278 B
TypeScript
import { cn } from '@/lib/utils';
|
|
|
|
function Skeleton({ className, ...props }: React.ComponentProps<'div'>) {
|
|
return (
|
|
<div
|
|
data-slot="skeleton"
|
|
className={cn('bg-muted rounded-md animate-pulse', className)}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|
|
|
|
export { Skeleton };
|