import { type HTMLAttributes } from 'react'; import { cn } from '@/utils/classNames'; export interface SkeletonProps extends HTMLAttributes { 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 (