import { Skeleton } from "@/components/ui/skeleton";

export function ProductTableSkeleton() {
  return (
    <div className="rounded-md border">
      <div className="divide-y">
        {Array.from({ length: 20 }).map((_, i) => (
          <div key={i} className="flex items-center p-4 gap-4">
            <Skeleton className="h-12 w-12 rounded bg-muted" />
            <div className="flex-1 space-y-2">
              <Skeleton className="h-4 w-[40%] bg-muted" />
              <Skeleton className="h-3 w-[25%] bg-muted" />
            </div>
            <Skeleton className="h-4 w-[10%] bg-muted" />
            <Skeleton className="h-4 w-[15%] bg-muted" />
            <Skeleton className="h-4 w-[10%] bg-muted" />
          </div>
        ))}
      </div>
    </div>
  );
} 