import {ITouchEvent, ViewProps} from '@tarojs/components' import {FunctionComponent} from 'react' export interface SwitchProps extends ViewProps { checked?: boolean loading?: boolean disabled?: boolean activeColor?: string inactiveColor?: string switchColor?: string disabledColor?: string size?: number activeValue?: any inactiveValue?: any onChange?: (event: ITouchEvent) => any } declare const Switch: FunctionComponent export {Switch}