import * as React from 'react'; import './style/index.less'; export declare type SwitchChangeEventHandler = (data: any) => void; export declare type SwitchClickEventHandler = SwitchChangeEventHandler; export interface SwitchProps { prefixCls?: string; classNames?: string; checked?: boolean; onChange?: SwitchChangeEventHandler; onClick?: SwitchClickEventHandler; disabled?: boolean; style?: React.CSSProperties; color?: string; } declare const Switch: React.ForwardRefExoticComponent>; export default Switch;