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

Function TestSliceView

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

Source from the content-addressed store, hash-verified

145);
146
147const TestSliceView = (props: SliceProps & {readonly cellPrefix?: string}) => (
148 <>
149 {props.sliceId}:
150 <SliceView
151 {...props}
152 rowComponent={TestRowView}
153 getRowComponentProps={useCallback(
154 () => ({cellPrefix: props.cellPrefix}),
155 [props.cellPrefix],
156 )}
157 />
158 </>
159);
160
161const TestRemoteRowView = (
162 props: RemoteRowProps & {readonly cellPrefix?: string},

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…