UNPKG

tdesign-mobile-vue

Version:
44 lines (43 loc) 1.67 kB
import { PropType } from 'vue'; declare const _default: { customValue: { type: PropType<import("@/components").SwitchValue[]>; }; disabled: { type: BooleanConstructor; default: any; }; icon: { type: PropType<((h: typeof import("vue").h) => import("@/common").SlotReturnValue)[]>; default: () => ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)[]; }; label: { type: PropType<(string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue))[] | ((h: typeof import("vue").h, props: { value: import("@/components").SwitchValue; }) => import("@/common").SlotReturnValue)>; default: () => (string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue))[] | ((h: typeof import("vue").h, props: { value: import("@/components").SwitchValue; }) => import("@/common").SlotReturnValue); }; loading: BooleanConstructor; size: { type: PropType<"large" | "medium" | "small">; default: "large" | "medium" | "small"; validator(val: "large" | "medium" | "small"): boolean; }; value: { type: PropType<import("@/components").SwitchValue>; default: import("@/components").SwitchValue; }; modelValue: { type: PropType<import("@/components").SwitchValue>; default: import("@/components").SwitchValue; }; defaultValue: { type: PropType<import("@/components").SwitchValue>; }; onChange: PropType<(value: import("@/components").SwitchValue, context: { e: MouseEvent; }) => void>; }; export default _default;