UNPKG

tdesign-mobile-vue

Version:
98 lines (97 loc) 3.83 kB
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ checked: { type: BooleanConstructor; default: any; }; modelValue: { type: BooleanConstructor; default: any; }; defaultChecked: BooleanConstructor; closable: BooleanConstructor; content: { type: import("vue").PropType<string | number | string[] | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; default: { type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; disabled: BooleanConstructor; icon: { type: import("vue").PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>; }; shape: { type: import("vue").PropType<"mark" | "round" | "square">; default: "mark" | "round" | "square"; validator(val: "mark" | "round" | "square"): boolean; }; size: { type: import("vue").PropType<import("@/common").SizeEnum>; default: import("@/common").SizeEnum; validator(val: import("@/common").SizeEnum): boolean; }; variant: { type: import("vue").PropType<"dark" | "light" | "light-outline" | "outline">; default: "dark" | "light" | "light-outline" | "outline"; validator(val: "dark" | "light" | "light-outline" | "outline"): boolean; }; onChange: import("vue").PropType<(checked: boolean) => void>; onClick: import("vue").PropType<(context: { e: MouseEvent; }) => void>; onClose: import("vue").PropType<(context: { e: MouseEvent; }) => void>; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ checked: { type: BooleanConstructor; default: any; }; modelValue: { type: BooleanConstructor; default: any; }; defaultChecked: BooleanConstructor; closable: BooleanConstructor; content: { type: import("vue").PropType<string | number | string[] | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; default: { type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; disabled: BooleanConstructor; icon: { type: import("vue").PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>; }; shape: { type: import("vue").PropType<"mark" | "round" | "square">; default: "mark" | "round" | "square"; validator(val: "mark" | "round" | "square"): boolean; }; size: { type: import("vue").PropType<import("@/common").SizeEnum>; default: import("@/common").SizeEnum; validator(val: import("@/common").SizeEnum): boolean; }; variant: { type: import("vue").PropType<"dark" | "light" | "light-outline" | "outline">; default: "dark" | "light" | "light-outline" | "outline"; validator(val: "dark" | "light" | "light-outline" | "outline"): boolean; }; onChange: import("vue").PropType<(checked: boolean) => void>; onClick: import("vue").PropType<(context: { e: MouseEvent; }) => void>; onClose: import("vue").PropType<(context: { e: MouseEvent; }) => void>; }>> & Readonly<{}>, { checked: boolean; modelValue: boolean; defaultChecked: boolean; closable: boolean; disabled: boolean; shape: "mark" | "round" | "square"; size: import("@/common").SizeEnum; variant: "dark" | "light" | "light-outline" | "outline"; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;