tdesign-mobile-vue
Version:
tdesign-mobile-vue
98 lines (97 loc) • 3.69 kB
TypeScript
declare const _default: import("vue").DefineComponent<{
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("..").SlotReturnValue)>;
};
default: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>;
};
disabled: BooleanConstructor;
icon: {
type: import("vue").PropType<(h: typeof import("vue").h) => import("..").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("..").SizeEnum>;
default: import("..").SizeEnum;
validator(val: import("..").SizeEnum): boolean;
};
variant: {
type: import("vue").PropType<"dark" | "light" | "outline" | "light-outline">;
default: "dark" | "light" | "outline" | "light-outline";
validator(val: "dark" | "light" | "outline" | "light-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>;
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, 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("..").SlotReturnValue)>;
};
default: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>;
};
disabled: BooleanConstructor;
icon: {
type: import("vue").PropType<(h: typeof import("vue").h) => import("..").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("..").SizeEnum>;
default: import("..").SizeEnum;
validator(val: import("..").SizeEnum): boolean;
};
variant: {
type: import("vue").PropType<"dark" | "light" | "outline" | "light-outline">;
default: "dark" | "light" | "outline" | "light-outline";
validator(val: "dark" | "light" | "outline" | "light-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>;
}>>, {
modelValue: boolean;
size: import("..").SizeEnum;
disabled: boolean;
shape: "mark" | "round" | "square";
variant: "dark" | "light" | "outline" | "light-outline";
checked: boolean;
defaultChecked: boolean;
closable: boolean;
}, {}>;
export default _default;