TinyBase logoTinyBase β

TablesViewProps

TablesViewProps props are used for components that refer to all the Tables in a Store, such as the TablesView component.

{
  store?: StoreOrStoreId;
  separator?: Snippet<[]>;
  debugIds?: boolean;
  table?: Snippet<[tableId: Id]>;
}
TypeDescription
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.

separator?Snippet<[]>

A component or string to separate each rendered Table.

debugIds?boolean

Whether the component should also render the Ids of each Table, and its descendent objects, to assist with debugging.

table?Snippet<[tableId: Id]>

A snippet for rendering each Table in the Store, to override the default TableView component.

Since

v8.1.0