MCPcopy Create free account
hub / github.com/tinyplex/tinybase / TestIndexView

Function TestIndexView

test/unit/core/ui-solid/components.test.tsx:208–219  ·  view source on GitHub ↗
(props: IndexProps & {readonly cellPrefix?: string})

Source from the content-addressed store, hash-verified

206);
207
208const TestIndexView = (props: IndexProps & {readonly cellPrefix?: string}) => (
209 <>
210 {props.indexId}:
211 <IndexView
212 {...props}
213 sliceComponent={TestSliceView}
214 getSliceComponentProps={(_sliceId: Id) => ({
215 cellPrefix: props.cellPrefix,
216 })}
217 />
218 </>
219);
220
221const TestSliceView = (props: SliceProps & {readonly cellPrefix?: string}) => (
222 <>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…