({
indexes,
indexesId,
indexId,
sliceId,
s,
}: SliceProps & {readonly indexesId?: Id} & StoreProp)
| 35 | ); |
| 36 | |
| 37 | const SliceView = ({ |
| 38 | indexes, |
| 39 | indexesId, |
| 40 | indexId, |
| 41 | sliceId, |
| 42 | s, |
| 43 | }: SliceProps & {readonly indexesId?: Id} & StoreProp) => { |
| 44 | const uniqueId = getUniqueId('i', indexesId, indexId, sliceId); |
| 45 | const [editable, handleEditable] = useEditable(uniqueId, s); |
| 46 | return ( |
| 47 | <Details |
| 48 | uniqueId={uniqueId} |
| 49 | title={'Slice: ' + sliceId} |
| 50 | editable={editable} |
| 51 | handleEditable={handleEditable} |
| 52 | s={s} |
| 53 | > |
| 54 | <SliceInHtmlTable |
| 55 | sliceId={sliceId} |
| 56 | indexId={indexId} |
| 57 | indexes={indexes} |
| 58 | editable={editable} |
| 59 | /> |
| 60 | </Details> |
| 61 | ); |
| 62 | }; |
| 63 | |
| 64 | export const IndexesView = ({ |
| 65 | indexesId, |
nothing calls this directly
no test coverage detected
searching dependent graphs…