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

Function content

src/ui-solid/SliceView.tsx:18–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 resolvedIndexes,
17 );
18 const content = () => {
19 const Row = props.rowComponent ?? RowView;
20 const [_indexesValue, store, tableId] = getIndexStoreTableId(
21 getValue(resolvedIndexes),
22 props.indexId,
23 );
24 return wrap(
25 arrayMap(getValue(rowIds) as Id[], (rowId) => (
26 <Row
27 {...getProps(props.getRowComponentProps, rowId)}
28 tableId={tableId as Id}
29 rowId={rowId}
30 store={store}
31 debugIds={props.debugIds}
32 />
33 )),
34 props.separator,
35 props.debugIds,
36 props.sliceId,
37 );
38 };
39 return <>{content()}</>;
40};

Callers 1

SliceViewFunction · 0.70

Calls 5

getIndexStoreTableIdFunction · 0.90
getValueFunction · 0.90
wrapFunction · 0.90
arrayMapFunction · 0.90
getPropsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…