TinyBase logoTinyBase

CellProps

CellProps props are used for components that refer to a single Cell in a Row, such as the CellView component.

{
  tableId: Id;
  rowId: Id;
  cellId: Id;
  store?: StoreOrStoreId;
  debugIds?: boolean;
}
TypeDescription
tableIdId

The Id of the Table in the Store.

rowIdId

The Id of the Row in the Table.

cellIdId

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

debugIds?boolean

Whether the component should also render the Id of the Cell to assist with debugging.