filterStandardPresets()
Home > @gooddata/sdk-ui-filters > filterStandardPresets
filterStandardPresets() 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.
Filter presets for the Standard tab.
Signature:
export declare function filterStandardPresets(presets: DateFilterRelativeOptionGroup): DateFilterRelativeOptionGroup;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
presets |
The relative presets option group to filter |
Returns:
Filtered presets containing only standard granularities