flattenDateFilterOptions()
Home > @gooddata/sdk-ui-filters > flattenDateFilterOptions
flattenDateFilterOptions() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
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.
Signature:
export declare function flattenDateFilterOptions(dateFilterOptions: IDateFilterOptionsByType): DateFilterOption[];
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
dateFilterOptions |
available options to flatten |
Returns: