MCPcopy Index your code
hub / github.com/tinyplex/tinybase / TablesView

Function TablesView

src/ui-react/TablesView.tsx:11–29  ·  view source on GitHub ↗
({
  store,
  tableComponent: Table = TableView,
  getTableComponentProps,
  separator,
  debugIds,
}: TablesProps)

Source from the content-addressed store, hash-verified

9import {TableView} from './TableView.tsx';
10
11export const TablesView: typeof TablesViewDecl = ({
12 store,
13 tableComponent: Table = TableView,
14 getTableComponentProps,
15 separator,
16 debugIds,
17}: TablesProps): any => (
18 <Wrap separator={separator}>
19 {arrayMap(useTableIds(store), (tableId) => (
20 <Table
21 key={tableId}
22 {...getProps(getTableComponentProps, tableId)}
23 tableId={tableId}
24 store={store}
25 debugIds={debugIds}
26 />
27 ))}
28 </Wrap>
29);

Callers

nothing calls this directly

Calls 3

arrayMapFunction · 0.90
useTableIdsFunction · 0.90
getPropsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…