TinyBase logoTinyBase β

SliceViewProps

SliceViewProps props are used for components that refer to a single Slice in an Index object, such as the SliceView component.

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

The Id of the Index in the Indexes object.

sliceIdId

The Id of the Slice in the Index 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 Row.

debugIds?boolean

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

row?Snippet<[rowId: Id]>

A snippet for rendering each Row in the Slice, to override the default RowView component.

Since

v8.1.0