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

Function TablesView

src/ui-solid/TablesView.tsx:11–28  ·  view source on GitHub ↗
(props: TablesProps)

Source from the content-addressed store, hash-verified

9import {TableView} from './TableView.tsx';
10
11export 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};

Callers

nothing calls this directly

Calls 2

useTableIdsFunction · 0.90
contentFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…