getFiscalTabsConfig()
Home > @gooddata/sdk-ui-filters > getFiscalTabsConfig
getFiscalTabsConfig() 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.
Get fiscal tabs configuration based on available presets.
Signature:
export declare function getFiscalTabsConfig(presets: DateFilterRelativeOptionGroup | undefined): IFiscalTabsConfig;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
presets |
DateFilterRelativeOptionGroup | undefined |
The relative presets option group to check, or undefined |
Returns:
Configuration object with hasFiscal, hasStandard, and showTabs flags