import { type FC, Fragment } from 'react' import Skeleton from 'react-loading-skeleton' type Props = { tdCount: number, trCount?: number, } const DefaultTableSkeleton: FC = ({ tdCount, trCount = 5 }) => { return ( { Array.from({ length: trCount }).map((_, rowIndex) => ( { Array.from({ length: tdCount }).map((_, colIndex) => ( )) } )) } ) } export default DefaultTableSkeleton