useTableFilterState@astryxdesign/core v0.5.2 · useTableFilterState
Usage
Managed state hook for table filtering. Returns the current filter map and an onChange handler. Pass the result directly to useTableFiltering.
tsimport {useTableFilterState} from '@astryxdesign/core/Table'
Parameters
| Param | Type | Description |
|---|---|---|
initialState | Optional initial filter state map. |
Examples
Common configurations, variations, and states.Table — Popover Filters
Table with popover filter controls triggered by icons in column headers.
Table — Inline Filters
Table with inline filter controls rendered directly below each column header.