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

Function content

src/ui-solid/ValuesView.tsx:13–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11export const ValuesView = (props: ValuesProps): JSXElement => {
12 const valueIds = useValueIds(() => props.store);
13 const content = () => {
14 const Value = props.valueComponent ?? ValueView;
15 return wrap(
16 arrayMap(getValue(valueIds) as Id[], (valueId: Id) => (
17 <Value
18 {...getProps(props.getValueComponentProps, valueId)}
19 valueId={valueId}
20 store={props.store}
21 debugIds={props.debugIds}
22 />
23 )),
24 props.separator,
25 );
26 };
27 return <>{content()}</>;
28};

Callers 1

ValuesViewFunction · 0.70

Calls 4

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

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…