1 import type { FC } from 'react';
3 import { TableCell, TableRow } from '@proton/components';
5 type Props = { rows: number; cells: number };
7 export const TableRowLoading: FC<Props> = ({ rows, cells }) =>
8 Array.from({ length: rows }).map((_, i) => (
9 <TableRow key={`table-row-loading-${i}`}>
10 {Array.from({ length: cells }).map((_, j) => (
11 <TableCell key={`table-cell-loading-${j}`}>
12 <div className="w-full pass-skeleton pass-skeleton--table-cell " />