{
readonly rounded?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
}
const roundedClasses = {
sm: 'rounded-lg',
md: 'rounded-xl',
lg: 'rounded-2xl',
xl: 'rounded-3xl',
full: 'rounded-full'
} as const;
export function Skeleton({ className, rounded = 'md', ...props }: SkeletonProps) {
return (
);
}
export function SkeletonText({
className,
lines = 3
}: {
readonly className?: string;
readonly lines?: number;
}) {
return (
{Array.from({ length: lines }, (_, index) => (
))}
);
}