- Preparing search index...
- The search index is not available
mui-form
- useThemeContext(): {
setTheme: Dispatch<SetStateAction<Theme>>;
setThemeByOptions: ((themeOptions: Partial<ThemeOptions>) => void);
theme: Theme;
}
-
Returns {
setTheme: Dispatch<SetStateAction<Theme>>;
setThemeByOptions: ((themeOptions: Partial<ThemeOptions>) => void);
theme: Theme;
}
-
setTheme: Dispatch<SetStateAction<Theme>>
-
setThemeByOptions: ((themeOptions: Partial<ThemeOptions>) => void)
-
- (themeOptions: Partial<ThemeOptions>): void
-
Parameters
-
themeOptions: Partial<ThemeOptions>
Returns void
-
theme: Theme
获取主题Context Hook