import { Box, Skeleton, Table, TableBody, TableCell, TableHead, TableRow, } from '@mui/material' export interface TableSkeletonProps { /** Number of columns to display */ columns?: number /** Number of rows to display */ rows?: number } /** * Table skeleton loader component */ export function TableSkeleton({ columns = 4, rows = 5 }: TableSkeletonProps) { return ( {Array.from({ length: columns }).map((_, index) => ( ))} {Array.from({ length: rows }).map((_, rowIndex) => ( {Array.from({ length: columns }).map((_, colIndex) => ( ))} ))}
) }