import { type HTMLAttributes } from 'react';
import { cn } from '@/lib/cn';

function Skeleton({ className, ...props }: HTMLAttributes<HTMLDivElement>) {
  return (
    <div
      className={cn('animate-pulse rounded-xl bg-gray-200', className)}
      {...props}
    />
  );
}

export { Skeleton };
