filterStandardPresets()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Filter presets for the Standard tab.
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