Module: components/TableViewOptionsToolbarItem
Functions
default
▸ default<TData
>(root0
): Element
Renders a dropdown with view options for the table.
Type parameters
Name |
---|
TData |
Parameters
Name | Type | Description |
---|---|---|
root0 | Object | Props for the component. |
root0.localStorageKey | string | Key under which to store the visibility state in local storage. Keys in camel case are recommended. |
root0.style? | CSSProperties | Style for the dropdown container. |
root0.table | Table <TData > | Table for which to render options. It is expected that each column has a meta property viewOptionsLabel of type string that is displayed by this component. |
Returns
Element
Throws
If any column in the table does not have a label.
Defined in
src/web-app/src/components/TableViewOptionsToolbarItem.tsx:19