({
tableId,
rowId,
store,
cellComponent: Cell = CellView,
getCellComponentProps,
customCellIds,
separator,
debugIds,
}: RowProps)
| 9 | import {Wrap} from './common/Wrap.tsx'; |
| 10 | |
| 11 | export const RowView: typeof RowViewDecl = ({ |
| 12 | tableId, |
| 13 | rowId, |
| 14 | store, |
| 15 | cellComponent: Cell = CellView, |
| 16 | getCellComponentProps, |
| 17 | customCellIds, |
| 18 | separator, |
| 19 | debugIds, |
| 20 | }: RowProps): any => ( |
| 21 | <Wrap separator={separator} debugIds={debugIds} id={rowId}> |
| 22 | {arrayMap( |
| 23 | useCustomOrDefaultCellIds(customCellIds, tableId, rowId, store), |
| 24 | (cellId) => ( |
| 25 | <Cell |
| 26 | key={cellId} |
| 27 | {...getProps(getCellComponentProps, cellId)} |
| 28 | tableId={tableId} |
| 29 | rowId={rowId} |
| 30 | cellId={cellId} |
| 31 | store={store} |
| 32 | debugIds={debugIds} |
| 33 | /> |
| 34 | ), |
| 35 | )} |
| 36 | </Wrap> |
| 37 | ); |
nothing calls this directly
no test coverage detected
searching dependent graphs…