Function useThemeProvider
- useThemeProvider(): {
loadTheme: ((themeName?) => void);
theme: Theme;
updateTheme: ((themeName) => void);
}
-
Returns {
loadTheme: ((themeName?) => void);
theme: Theme;
updateTheme: ((themeName) => void);
}
-
loadTheme: ((themeName?) => void)
-
- (themeName?): void
-
Parameters
-
Optional
themeName: string
Returns void
-
theme: Theme
-
updateTheme: ((themeName) => void)
-
- (themeName): void
-
Returns void