ThemeContextProvider()
Home > @gooddata/sdk-ui-theme-provider > ThemeContextProvider
ThemeContextProvider() function
Provides the theme object, themeIsLoading flag and themeStatus into context
Signature:
export declare function ThemeContextProvider({ children, theme, themeIsLoading, themeStatus, isScopeThemed, }: IThemeContextProviderProps): React.JSX.Element;
Parameters
Parameter | Type | Description |
---|---|---|
{ children, theme, themeIsLoading, themeStatus, isScopeThemed, } | IThemeContextProviderProps |
Returns:
React.JSX.Element