UNPKG

tdesign-mobile-vue

Version:
39 lines (38 loc) 1.06 kB
import { TdSwitchProps } from './type'; import { PropType } from 'vue'; declare const _default: { customValue: { type: PropType<TdSwitchProps['customValue']>; }; disabled: { type: BooleanConstructor; default: any; }; icon: { type: PropType<TdSwitchProps['icon']>; default: () => TdSwitchProps['icon']; }; label: { type: PropType<TdSwitchProps['label']>; default: () => TdSwitchProps['label']; }; loading: BooleanConstructor; size: { type: PropType<TdSwitchProps['size']>; default: TdSwitchProps['size']; validator(val: TdSwitchProps['size']): boolean; }; value: { type: PropType<TdSwitchProps['value']>; default: TdSwitchProps['value']; }; modelValue: { type: PropType<TdSwitchProps['value']>; default: TdSwitchProps['value']; }; defaultValue: { type: PropType<TdSwitchProps['defaultValue']>; }; onChange: PropType<TdSwitchProps['onChange']>; }; export default _default;