@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
21 lines (20 loc) • 589 B
text/typescript
import { DivProps } from "../types/index.mjs";
import { ActionIconProps } from "../ActionIcon/type.mjs";
import "../ActionIcon/index.mjs";
import { ThemeMode } from "antd-style";
//#region src/ThemeSwitch/type.d.ts
interface ThemeSwitchProps extends DivProps {
labels?: {
auto: string;
dark: string;
light: string;
};
onThemeSwitch: (themeMode: ThemeMode) => void;
size?: ActionIconProps['size'];
themeMode: ThemeMode;
type?: 'icon' | 'select';
variant?: ActionIconProps['variant'];
}
//#endregion
export { ThemeSwitchProps };
//# sourceMappingURL=type.d.mts.map