UNPKG

tdesign-vue-next

Version:
38 lines (37 loc) 1.03 kB
import { TdSwitchProps } from './type'; import { PropType } from 'vue'; declare const _default: { beforeChange: { type: PropType<TdSwitchProps["beforeChange"]>; }; customValue: { type: PropType<TdSwitchProps["customValue"]>; }; disabled: { type: BooleanConstructor; default: any; }; 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;