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): import("react/jsx-runtime").JSX.Element;
Parameters
Parameter |
Type |
Description |
---|---|---|
{ children, theme, themeIsLoading, themeStatus, isScopeThemed, } |
Returns:
import("react/jsx-runtime").JSX.Element