• 获取主题Context Hook

    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

Generated using TypeDoc