import * as React from 'react'; import { SwitchPropsType } from './PropsType'; export interface SwitchProps extends SwitchPropsType { prefixCls?: string; className?: string; platform?: string; style?: React.CSSProperties; } export default class Switch extends React.Component { static defaultProps: { prefixCls: string; name: string; checked: boolean; disabled: boolean; onChange(): void; platform: string; onClick(): void; }; onChange: (e: React.ChangeEvent) => void; onClick: (e: any) => void; render(): JSX.Element; }