tdesign-mobile-vue
Version:
tdesign-mobile-vue
87 lines (86 loc) • 3.39 kB
TypeScript
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
content: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
default: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
disabled: {
type: BooleanConstructor;
default: any;
};
hover: BooleanConstructor;
href: {
type: StringConstructor;
default: string;
};
prefixIcon: {
type: import("vue").PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>;
};
size: {
type: import("vue").PropType<import("@/common").SizeEnum>;
default: import("@/common").SizeEnum;
validator(val: import("@/common").SizeEnum): boolean;
};
suffixIcon: {
type: import("vue").PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>;
};
target: {
type: StringConstructor;
default: string;
};
theme: {
type: import("vue").PropType<"danger" | "default" | "primary" | "success" | "warning">;
default: "danger" | "default" | "primary" | "success" | "warning";
validator(val: "danger" | "default" | "primary" | "success" | "warning"): boolean;
};
underline: BooleanConstructor;
onClick: import("vue").PropType<(e: MouseEvent) => void>;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
content: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
default: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
disabled: {
type: BooleanConstructor;
default: any;
};
hover: BooleanConstructor;
href: {
type: StringConstructor;
default: string;
};
prefixIcon: {
type: import("vue").PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>;
};
size: {
type: import("vue").PropType<import("@/common").SizeEnum>;
default: import("@/common").SizeEnum;
validator(val: import("@/common").SizeEnum): boolean;
};
suffixIcon: {
type: import("vue").PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>;
};
target: {
type: StringConstructor;
default: string;
};
theme: {
type: import("vue").PropType<"danger" | "default" | "primary" | "success" | "warning">;
default: "danger" | "default" | "primary" | "success" | "warning";
validator(val: "danger" | "default" | "primary" | "success" | "warning"): boolean;
};
underline: BooleanConstructor;
onClick: import("vue").PropType<(e: MouseEvent) => void>;
}>> & Readonly<{}>, {
disabled: boolean;
hover: boolean;
href: string;
size: import("@/common").SizeEnum;
target: string;
theme: "danger" | "default" | "primary" | "success" | "warning";
underline: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;