ValuesProps
ValuesProps props are used for components that refer to all the Values in a Store, such as the ValuesView component.
{
store?: StoreOrStoreId;
valueComponent?: ComponentType<ValueProps>;
getValueComponentProps?: (valueId: Id) => ExtraProps;
separator?: ReactElement | string;
debugIds?: boolean;
}| Type | Description | |
|---|---|---|
store? | StoreOrStoreId | The |
valueComponent? | ComponentType<ValueProps> | A custom component for rendering each |
getValueComponentProps? | (valueId: Id) => ExtraProps | A function for generating extra props for each custom |
separator? | ReactElement | string | A component or string to separate each |
debugIds? | boolean | Whether the component should also render the |
Since
v3.0.0