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

Function TablesView

docs/pseudo.esm.sh/tinybase@9.0.0/ui-react/index.js:1658–1679  ·  view source on GitHub ↗
({
  store,
  tableComponent: Table = TableView,
  getTableComponentProps,
  separator,
  debugIds
})

Source from the content-addressed store, hash-verified

1656);
1657var TableView = (props) => tableView(props, useRowIds(props.tableId, props.store));
1658var TablesView = ({
1659 store,
1660 tableComponent: Table = TableView,
1661 getTableComponentProps,
1662 separator,
1663 debugIds
1664}) => /* @__PURE__ */ jsx(Wrap, {
1665 separator,
1666 children: arrayMap(
1667 useTableIds(store),
1668 (tableId) => /* @__PURE__ */ jsx(
1669 Table,
1670 {
1671 ...getProps(getTableComponentProps, tableId),
1672 tableId,
1673 store,
1674 debugIds
1675 },
1676 tableId
1677 )
1678 )
1679});
1680var ValueView = ({ valueId, store, debugIds }) => /* @__PURE__ */ jsx(Wrap, {
1681 debugIds,
1682 id: valueId,

Callers

nothing calls this directly

Calls 3

arrayMapFunction · 0.70
useTableIdsFunction · 0.70
getPropsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…