TinyBase logoTinyBase β

RowViewProps

RowViewProps props are used for components that refer to a single Row in a Table, such as the RowView component.

{
  tableId: Id;
  rowId: Id;
  store?: StoreOrStoreId;
  customCellIds?: Ids;
  separator?: Snippet<[]>;
  debugIds?: boolean;
  cell?: Snippet<[cellId: Id]>;
}
TypeDescription
tableIdId

The Id of the Table in the Store.

rowIdId

The Id of the Row in the Table to be rendered.

store?StoreOrStoreId

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

customCellIds?Ids

An optional list of Cell Ids to use for rendering a prescribed set of the Row's Cells in a given order.

separator?Snippet<[]>

A component or string to separate each rendered Cell.

debugIds?boolean

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

cell?Snippet<[cellId: Id]>

A snippet for rendering each Cell in the Row, to override the default CellView component.

Since

v8.1.0