(props: TablesProps)
| 9 | import {TableView} from './TableView.tsx'; |
| 10 | |
| 11 | export const TablesView = (props: TablesProps): JSXElement => { |
| 12 | const tableIds = useTableIds(() => props.store); |
| 13 | const content = () => { |
| 14 | const Table = props.tableComponent ?? TableView; |
| 15 | return wrap( |
| 16 | arrayMap(getValue(tableIds) as Id[], (tableId: Id) => ( |
| 17 | <Table |
| 18 | {...getProps(props.getTableComponentProps, tableId)} |
| 19 | tableId={tableId} |
| 20 | store={props.store} |
| 21 | debugIds={props.debugIds} |
| 22 | /> |
| 23 | )), |
| 24 | props.separator, |
| 25 | ); |
| 26 | }; |
| 27 | return <>{content()}</>; |
| 28 | }; |
nothing calls this directly
no test coverage detected
searching dependent graphs…