MCPcopy
hub / github.com/tinyplex/tinybase / ValuesView

Function ValuesView

src/ui-react/ValuesView.tsx:11–29  ·  view source on GitHub ↗
({
  store,
  valueComponent: Value = ValueView,
  getValueComponentProps,
  separator,
  debugIds,
}: ValuesProps)

Source from the content-addressed store, hash-verified

9import {ValueView} from './ValueView.tsx';
10
11export const ValuesView: typeof ValuesViewDecl = ({
12 store,
13 valueComponent: Value = ValueView,
14 getValueComponentProps,
15 separator,
16 debugIds,
17}: ValuesProps): any => (
18 <Wrap separator={separator}>
19 {arrayMap(useValueIds(store), (valueId) => (
20 <Value
21 key={valueId}
22 {...getProps(getValueComponentProps, valueId)}
23 valueId={valueId}
24 store={store}
25 debugIds={debugIds}
26 />
27 ))}
28 </Wrap>
29);

Callers

nothing calls this directly

Calls 3

arrayMapFunction · 0.90
useValueIdsFunction · 0.90
getPropsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…