TinyBase logoTinyBase β

ValuesViewProps

ValuesViewProps props are used for components that refer to all the Values in a Store, such as the ValuesView component.

{
  store?: StoreOrStoreId;
  separator?: Snippet<[]>;
  debugIds?: boolean;
  value?: Snippet<[valueId: 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 Value.

debugIds?boolean

Whether the component should also render the Ids of each Value to assist with debugging.

value?Snippet<[valueId: Id]>

A snippet for rendering each Value in the Store, to override the default ValueView component.

Since

v8.1.0