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

Function TestIndexView

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

Source from the content-addressed store, hash-verified

131};
132
133const TestIndexView = (props: IndexProps & {readonly cellPrefix?: string}) => (
134 <>
135 {props.indexId}:
136 <IndexView
137 {...props}
138 sliceComponent={TestSliceView}
139 getSliceComponentProps={useCallback(
140 () => ({cellPrefix: props.cellPrefix}),
141 [props.cellPrefix],
142 )}
143 />
144 </>
145);
146
147const TestSliceView = (props: SliceProps & {readonly cellPrefix?: string}) => (
148 <>

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…