import { FunctionComponent, CSSProperties } from 'react'
import { ITouchEvent, ViewProps } from '@tarojs/components'

export interface SwitchProps extends ViewProps {
  checked?: boolean
  loading?: boolean
  disabled?: boolean
  activeColor?: string
  inactiveColor?: string
  size?: string
  wapperStyle?: CSSProperties
  activeValue?: any
  inactiveValue?: any
  onChange?: (event: ITouchEvent) => any
}
declare const Switch: FunctionComponent<SwitchProps>

export { Switch }
