(
{
queryId,
queries,
resultRowComponent: ResultRow = ResultRowView,
getResultRowComponentProps,
separator,
debugIds,
}: ResultTableProps,
rowIds: Ids,
)
| 58 | ); |
| 59 | |
| 60 | export const resultTableView = ( |
| 61 | { |
| 62 | queryId, |
| 63 | queries, |
| 64 | resultRowComponent: ResultRow = ResultRowView, |
| 65 | getResultRowComponentProps, |
| 66 | separator, |
| 67 | debugIds, |
| 68 | }: ResultTableProps, |
| 69 | rowIds: Ids, |
| 70 | ): any => ( |
| 71 | <Wrap separator={separator} debugIds={debugIds} id={queryId}> |
| 72 | {arrayMap(rowIds, (rowId) => ( |
| 73 | <ResultRow |
| 74 | key={rowId} |
| 75 | {...getProps(getResultRowComponentProps, rowId)} |
| 76 | queryId={queryId} |
| 77 | rowId={rowId} |
| 78 | queries={queries} |
| 79 | debugIds={debugIds} |
| 80 | /> |
| 81 | ))} |
| 82 | </Wrap> |
| 83 | ); |
| 84 | |
| 85 | export const useComponentPerRow = ( |
| 86 | { |
no test coverage detected
searching dependent graphs…