import React from 'react'; import type { TaroBaseProps, TaroSwitchEventHanlder } from '../_util/typings'; export interface SwitchProps extends TaroBaseProps { name?: string; checked?: boolean; type?: 'switch' | 'checkbox'; color?: string; disabled?: boolean; onChange?: TaroSwitchEventHanlder; } declare const Switch: React.ForwardRefRenderFunction; export default Switch;