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

Function ResultRowView

docs/pseudo.esm.sh/tinybase@9.0.0/ui-react/index.js:1347–1374  ·  view source on GitHub ↗
({
  queryId,
  rowId,
  queries,
  resultCellComponent: ResultCell = ResultCellView,
  getResultCellComponentProps,
  separator,
  debugIds
})

Source from the content-addressed store, hash-verified

1345 children: EMPTY_STRING + (useResultCell(queryId, rowId, cellId, queries) ?? EMPTY_STRING)
1346});
1347var ResultRowView = ({
1348 queryId,
1349 rowId,
1350 queries,
1351 resultCellComponent: ResultCell = ResultCellView,
1352 getResultCellComponentProps,
1353 separator,
1354 debugIds
1355}) => /* @__PURE__ */ jsx(Wrap, {
1356 separator,
1357 debugIds,
1358 id: rowId,
1359 children: arrayMap(
1360 useResultCellIds(queryId, rowId, queries),
1361 (cellId) => /* @__PURE__ */ jsx(
1362 ResultCell,
1363 {
1364 ...getProps(getResultCellComponentProps, cellId),
1365 queryId,
1366 rowId,
1367 cellId,
1368 queries,
1369 debugIds
1370 },
1371 cellId
1372 )
1373 )
1374});
1375var CellView = ({ tableId, rowId, cellId, store, debugIds }) => /* @__PURE__ */ jsx(Wrap, {
1376 debugIds,
1377 id: cellId,

Callers

nothing calls this directly

Calls 3

arrayMapFunction · 0.70
useResultCellIdsFunction · 0.70
getPropsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…