TinyBase logoTinyBase β

IndexViewProps

IndexViewProps props are used for components that refer to a single Index in an Indexes object, such as the IndexView component.

{
  indexId: Id;
  indexes?: IndexesOrIndexesId;
  separator?: Snippet<[]>;
  debugIds?: boolean;
  slice?: Snippet<[sliceId: Id]>;
}
TypeDescription
indexIdId

The Id of the Index in the Indexes object to be rendered.

indexes?IndexesOrIndexesId

The Indexes object to be accessed: omit for the default context Indexes object, provide an Id for a named context Indexes object, or provide an explicit reference.

separator?Snippet<[]>

A component or string to separate each rendered Slice.

debugIds?boolean

Whether the component should also render the Id of the Index, and its descendent objects, to assist with debugging.

slice?Snippet<[sliceId: Id]>

A snippet for rendering each Slice in the Index.

Since

v8.1.0