import * as React from 'react' import { cn } from '../../lib/utils' export interface TableSkeletonProps { rows?: number columns?: number className?: string } export function TableSkeleton({ rows = 5, columns = 4, className, }: TableSkeletonProps) { return (
{/* Header skeleton */}
{/* Table body skeleton */}
{Array.from({ length: columns }).map((_, i) => ( ))} {Array.from({ length: rows }).map((_, rowIndex) => ( {Array.from({ length: columns }).map((_, colIndex) => ( ))} ))}
{/* Pagination skeleton */}
) }