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

Function IndexView

docs/pseudo.esm.sh/tinybase@9.0.0/ui-react/index.js:1568–1593  ·  view source on GitHub ↗
({
  indexId,
  indexes,
  sliceComponent: Slice = SliceView,
  getSliceComponentProps,
  separator,
  debugIds
})

Source from the content-addressed store, hash-verified

1566 });
1567};
1568var IndexView = ({
1569 indexId,
1570 indexes,
1571 sliceComponent: Slice = SliceView,
1572 getSliceComponentProps,
1573 separator,
1574 debugIds
1575}) => /* @__PURE__ */ jsx(Wrap, {
1576 separator,
1577 debugIds,
1578 id: indexId,
1579 children: arrayMap(
1580 useSliceIds(indexId, indexes),
1581 (sliceId) => /* @__PURE__ */ jsx(
1582 Slice,
1583 {
1584 ...getProps(getSliceComponentProps, sliceId),
1585 indexId,
1586 sliceId,
1587 indexes,
1588 debugIds
1589 },
1590 sliceId
1591 )
1592 )
1593});
1594var LinkedRowsView = (props) => useComponentPerRow(props, useLinkedRowIds, props.firstRowId);
1595var LocalRowsView = (props) => useComponentPerRow(props, useLocalRowIds, props.remoteRowId);
1596var MetricView = ({ metricId, metrics, debugIds }) => /* @__PURE__ */ jsx(Wrap, {

Callers

nothing calls this directly

Calls 3

arrayMapFunction · 0.70
useSliceIdsFunction · 0.70
getPropsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…