({
indexId,
indexes,
sliceComponent: Slice = SliceView,
getSliceComponentProps,
separator,
debugIds,
}: IndexProps)
| 9 | import {SliceView} from './SliceView.tsx'; |
| 10 | |
| 11 | export const IndexView: typeof IndexViewDecl = ({ |
| 12 | indexId, |
| 13 | indexes, |
| 14 | sliceComponent: Slice = SliceView, |
| 15 | getSliceComponentProps, |
| 16 | separator, |
| 17 | debugIds, |
| 18 | }: IndexProps): any => ( |
| 19 | <Wrap separator={separator} debugIds={debugIds} id={indexId}> |
| 20 | {arrayMap(useSliceIds(indexId, indexes), (sliceId) => ( |
| 21 | <Slice |
| 22 | key={sliceId} |
| 23 | {...getProps(getSliceComponentProps, sliceId)} |
| 24 | indexId={indexId} |
| 25 | sliceId={sliceId} |
| 26 | indexes={indexes} |
| 27 | debugIds={debugIds} |
| 28 | /> |
| 29 | ))} |
| 30 | </Wrap> |
| 31 | ); |
nothing calls this directly
no test coverage detected
searching dependent graphs…