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

Function ContextIndexes

test/unit/core/ui-react/components.test.tsx:519–531  ·  view source on GitHub ↗
({
  indexes,
  indexesById,
  indexesId,
}: {
  readonly indexes?: Indexes;
  readonly indexesById?: {[indexesId: string]: Indexes};
  readonly indexesId?: string;
})

Source from the content-addressed store, hash-verified

517);
518
519const ContextIndexes = ({
520 indexes,
521 indexesById,
522 indexesId,
523}: {
524 readonly indexes?: Indexes;
525 readonly indexesById?: {[indexesId: string]: Indexes};
526 readonly indexesId?: string;
527}) => (
528 <Provider indexes={indexes} indexesById={indexesById}>
529 <ContextIndexesChild indexesId={indexesId} />
530 </Provider>
531);
532
533const ContextIndexesChild = ({indexesId}: {readonly indexesId?: string}) => (
534 <>

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…