MCPcopy Create free account
hub / github.com/tinyplex/tinybase / ValuesView

Function ValuesView

docs/pseudo.esm.sh/tinybase@9.0.0/ui-react/index.js:1685–1706  ·  view source on GitHub ↗
({
  store,
  valueComponent: Value = ValueView,
  getValueComponentProps,
  separator,
  debugIds
})

Source from the content-addressed store, hash-verified

1683 children: EMPTY_STRING + (useValue(valueId, store) ?? EMPTY_STRING)
1684});
1685var ValuesView = ({
1686 store,
1687 valueComponent: Value = ValueView,
1688 getValueComponentProps,
1689 separator,
1690 debugIds
1691}) => /* @__PURE__ */ jsx(Wrap, {
1692 separator,
1693 children: arrayMap(
1694 useValueIds(store),
1695 (valueId) => /* @__PURE__ */ jsx(
1696 Value,
1697 {
1698 ...getProps(getValueComponentProps, valueId),
1699 valueId,
1700 store,
1701 debugIds
1702 },
1703 valueId
1704 )
1705 )
1706});
1707export {
1708 BackwardCheckpointsView,
1709 CellView,

Callers

nothing calls this directly

Calls 3

arrayMapFunction · 0.70
useValueIdsFunction · 0.70
getPropsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…