- {table.getSelectedRowModel().rows.length ? (
-
- {table.getSelectedRowModel().rows.length}
-
- ) : null}
-
-
-
- {table.getRowModel().rows.map(
- (row) =>
- row.id === activeId && (
-
- {row.getVisibleCells().map((cell) => (
-
- {flexRender(cell.column.columnDef.cell, cell.getContext())}
-
- ))}
-
- )
- )}
-
-
-
-
- {table.getSelectedRowModel().rows.length > 1 && (
-
-
-
- {table.getRowModel().rows.map(
- (row) =>
- row.id === activeId && (
-
- {row.getVisibleCells().map((cell) => (
-
- {flexRender(cell.column.columnDef.cell, cell.getContext())}
-
- ))}
-
- )
- )}
-
-
-
- )}
-
- {table.getSelectedRowModel().rows.length > 2 && (
-
-
-
- {table.getRowModel().rows.map(
- (row) =>
- row.id === activeId && (
-
- {row.getVisibleCells().map((cell) => (
-
- {flexRender(cell.column.columnDef.cell, cell.getContext())}
-
- ))}
-
- )
- )}
-
-
-
- )}
-
- {table.getSelectedRowModel().rows.length > 3 && (
-
-
-
- {table.getRowModel().rows.map(
- (row) =>
- row.id === activeId && (
-
- {row.getVisibleCells().map((cell) => (
-
- {flexRender(cell.column.columnDef.cell, cell.getContext())}
-
- ))}
-
- )
- )}
-
-
-
- )}
-
- )}
-