({
indexes,
indexesId,
indexId,
s,
}: IndexProps & {readonly indexesId?: Id} & StoreProp)
| 11 | import {useEditable} from './editable.ts'; |
| 12 | |
| 13 | const IndexView = ({ |
| 14 | indexes, |
| 15 | indexesId, |
| 16 | indexId, |
| 17 | s, |
| 18 | }: IndexProps & {readonly indexesId?: Id} & StoreProp) => ( |
| 19 | <Details |
| 20 | uniqueId={getUniqueId('i', indexesId, indexId)} |
| 21 | title={'Index: ' + indexId} |
| 22 | s={s} |
| 23 | > |
| 24 | {arrayMap(useSliceIds(indexId, indexes), (sliceId) => ( |
| 25 | <SliceView |
| 26 | indexes={indexes} |
| 27 | indexesId={indexesId} |
| 28 | indexId={indexId} |
| 29 | sliceId={sliceId} |
| 30 | s={s} |
| 31 | key={sliceId} |
| 32 | /> |
| 33 | ))} |
| 34 | </Details> |
| 35 | ); |
| 36 | |
| 37 | const SliceView = ({ |
| 38 | indexes, |
nothing calls this directly
no test coverage detected
searching dependent graphs…