import { Table as TanstackTable } from "@tanstack/react-table"; import { Skeleton } from "../skeleton"; import { TableCell, TableRow } from "../table"; export function DataTableSkeleton({ table }: { table: TanstackTable }) { return Array.from({ length: 10 }).map((_, i) => ( {table.getAllColumns().map((column) => ( ))} )); }