(props: ResultRowProps)
| 9 | import {ResultCellView} from './ResultCellView.tsx'; |
| 10 | |
| 11 | export const ResultRowView = (props: ResultRowProps): JSXElement => { |
| 12 | const resultCellIds = useResultCellIds( |
| 13 | () => props.queryId, |
| 14 | () => props.rowId, |
| 15 | () => props.queries, |
| 16 | ); |
| 17 | const content = () => { |
| 18 | const ResultCell = props.resultCellComponent ?? ResultCellView; |
| 19 | return wrap( |
| 20 | arrayMap(getValue(resultCellIds) as Id[], (cellId: Id) => ( |
| 21 | <ResultCell |
| 22 | {...getProps(props.getResultCellComponentProps, cellId)} |
| 23 | queryId={props.queryId} |
| 24 | rowId={props.rowId} |
| 25 | cellId={cellId} |
| 26 | queries={props.queries} |
| 27 | debugIds={props.debugIds} |
| 28 | /> |
| 29 | )), |
| 30 | props.separator, |
| 31 | props.debugIds, |
| 32 | props.rowId, |
| 33 | ); |
| 34 | }; |
| 35 | return <>{content()}</>; |
| 36 | }; |
nothing calls this directly
no test coverage detected
searching dependent graphs…