Function: useFilters()
ts
function useFilters(dashboard): FilterState;Defined in: packages/react/src/state.ts:25
Every filter, by chart id: the same plain object as dashboard.filters.snapshot.filters, replaced on each change. Empty before the dashboard is ready and on the server.
Parameters
| Parameter | Type |
|---|---|
dashboard | Dashboard<string> | null |