()
| 14 | () => props.indexes, |
| 15 | ); |
| 16 | const content = () => { |
| 17 | const Slice = props.sliceComponent ?? SliceView; |
| 18 | return wrap( |
| 19 | arrayMap(getValue(sliceIds) as Id[], (sliceId: Id) => ( |
| 20 | <Slice |
| 21 | {...getProps(props.getSliceComponentProps, sliceId)} |
| 22 | indexId={props.indexId} |
| 23 | sliceId={sliceId} |
| 24 | indexes={props.indexes} |
| 25 | debugIds={props.debugIds} |
| 26 | /> |
| 27 | )), |
| 28 | props.separator, |
| 29 | props.debugIds, |
| 30 | props.indexId, |
| 31 | ); |
| 32 | }; |
| 33 | return <>{content()}</>; |
| 34 | }; |