IThemeProviderProps
Home > @gooddata/sdk-ui-theme-provider > IThemeProviderProps
IThemeProviderProps interface
Signature:
export interface IThemeProviderProps
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
backend? | IAnalyticalBackend | (Optional) Analytical backend, from which the ThemeProvider will obtain selected theme object. | |
children? | React.ReactNode | (Optional) React children | |
enableComplementaryPalette? | boolean | (Optional) Flag determining whether the complementary palette is enabled or not. | |
modifier? | ThemeModifier | (Optional) If provided it is called with loaded theme to allow its modification according to the app needs. | |
removeGlobalStylesOnUnmout? | boolean | (Optional) Should ThemeProvider remove global styles during the unmount phase? Default: true | |
theme? | ITheme | (Optional) Theme that will be used if defined. | |
workspace? | string | (Optional) Identifier of analytical workspace, from which the ThemeProvider will obtain the selected theme identifier |