(
{
tableId,
store,
rowComponent: Row = RowView,
getRowComponentProps,
customCellIds,
separator,
debugIds,
}: TableProps,
rowIds: Ids,
)
| 31 | export type ExtraThingsById = ThingsById<ThingsByOffset>; |
| 32 | |
| 33 | export const tableView = ( |
| 34 | { |
| 35 | tableId, |
| 36 | store, |
| 37 | rowComponent: Row = RowView, |
| 38 | getRowComponentProps, |
| 39 | customCellIds, |
| 40 | separator, |
| 41 | debugIds, |
| 42 | }: TableProps, |
| 43 | rowIds: Ids, |
| 44 | ): any => ( |
| 45 | <Wrap separator={separator} debugIds={debugIds} id={tableId}> |
| 46 | {arrayMap(rowIds, (rowId) => ( |
| 47 | <Row |
| 48 | key={rowId} |
| 49 | {...getProps(getRowComponentProps, rowId)} |
| 50 | tableId={tableId} |
| 51 | rowId={rowId} |
| 52 | customCellIds={customCellIds} |
| 53 | store={store} |
| 54 | debugIds={debugIds} |
| 55 | /> |
| 56 | ))} |
| 57 | </Wrap> |
| 58 | ); |
| 59 | |
| 60 | export const resultTableView = ( |
| 61 | { |
no test coverage detected
searching dependent graphs…