import * as React from 'react'; import { FC } from 'react'; export type ISwitch = { /** 控制Switch的开关状态 */ checked?: boolean; /** Switch的默认开关状态 */ defaultChecked?: boolean; /** 开关状态发生变化之后的回调函数 */ onChange?: (checked: boolean) => void; /** 是否禁用 */ disabled?: boolean; className?: string; style?: React.CSSProperties; }; declare const Switch: FC; export { Switch };