flattenDateFilterOptions()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Flattens the provided date filter options. The flattening maintains a stable, predefined order in which the options should be rendered by the date filter component.
export declare function flattenDateFilterOptions(dateFilterOptions: IDateFilterOptionsByType): DateFilterOption[];
Parameters
Parameter | Type | Description |
|---|---|---|
dateFilterOptions | available options to flatten |
Returns