7 lines
251 B
TypeScript
7 lines
251 B
TypeScript
import * as React from 'react';
|
|
import { cn } from '../lib/cn';
|
|
|
|
export function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) {
|
|
return <div className={cn('animate-pulse rounded-md bg-muted', className)} {...props} />;
|
|
}
|