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

Function ResultRowView

src/ui-react/ResultRowView.tsx:11–33  ·  view source on GitHub ↗
({
  queryId,
  rowId,
  queries,
  resultCellComponent: ResultCell = ResultCellView,
  getResultCellComponentProps,
  separator,
  debugIds,
}: ResultRowProps)

Source from the content-addressed store, hash-verified

9import {ResultCellView} from './ResultCellView.tsx';
10
11export const ResultRowView: typeof ResultRowViewDecl = ({
12 queryId,
13 rowId,
14 queries,
15 resultCellComponent: ResultCell = ResultCellView,
16 getResultCellComponentProps,
17 separator,
18 debugIds,
19}: ResultRowProps): any => (
20 <Wrap separator={separator} debugIds={debugIds} id={rowId}>
21 {arrayMap(useResultCellIds(queryId, rowId, queries), (cellId) => (
22 <ResultCell
23 key={cellId}
24 {...getProps(getResultCellComponentProps, cellId)}
25 queryId={queryId}
26 rowId={rowId}
27 cellId={cellId}
28 queries={queries}
29 debugIds={debugIds}
30 />
31 ))}
32 </Wrap>
33);

Callers

nothing calls this directly

Calls 3

arrayMapFunction · 0.90
useResultCellIdsFunction · 0.90
getPropsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…