UNPKG

dumi-theme-antd

Version:

Ant Design 5.0 官网风格类似的 dumi2 主题插件

9 lines (8 loc) 285 B
import React from 'react'; export declare type ThemeName = 'light' | 'dark' | 'compact'; export declare type ThemeSwitchProps = { value?: ThemeName[]; onChange: (value: ThemeName[]) => void; }; declare const ThemeSwitch: React.FC<ThemeSwitchProps>; export default ThemeSwitch;