Skip to content

Function: useFilter() ​

ts
function useFilter(dashboard, id): Filter | null;

Defined in: packages/react/src/state.ts:30

One chart's filter by id, or null.

Parameters ​

ParameterType
dashboardDashboard<string> | null
idstring

Returns ​

Filter | null

Released under the MIT License.