tdesign-mobile-vue
Version:
tdesign-mobile-vue
126 lines (125 loc) • 5.96 kB
TypeScript
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
closable: BooleanConstructor;
content: {
type: import("vue").PropType<import("@/components").TdTagProps['content']>;
};
default: {
type: import("vue").PropType<import("@/components").TdTagProps['default']>;
};
disabled: BooleanConstructor;
icon: {
type: import("vue").PropType<import("@/components").TdTagProps['icon']>;
default: any;
};
maxWidth: {
type: import("vue").PropType<import("@/components").TdTagProps['maxWidth']>;
};
shape: {
type: import("vue").PropType<import("@/components").TdTagProps['shape']>;
default: import("@/components").TdTagProps['shape'];
validator(val: import("@/components").TdTagProps['shape']): boolean;
};
size: {
type: import("vue").PropType<import("@/components").TdTagProps['size']>;
default: import("@/components").TdTagProps['size'];
validator(val: import("@/components").TdTagProps['size']): boolean;
};
theme: {
type: import("vue").PropType<import("@/components").TdTagProps['theme']>;
default: import("@/components").TdTagProps['theme'];
validator(val: import("@/components").TdTagProps['theme']): boolean;
};
variant: {
type: import("vue").PropType<import("@/components").TdTagProps['variant']>;
default: import("@/components").TdTagProps['variant'];
validator(val: import("@/components").TdTagProps['variant']): boolean;
};
onClick: import("vue").PropType<import("@/components").TdTagProps['onClick']>;
onClose: import("vue").PropType<import("@/components").TdTagProps['onClose']>;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "close")[], "click" | "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
closable: BooleanConstructor;
content: {
type: import("vue").PropType<import("@/components").TdTagProps['content']>;
};
default: {
type: import("vue").PropType<import("@/components").TdTagProps['default']>;
};
disabled: BooleanConstructor;
icon: {
type: import("vue").PropType<import("@/components").TdTagProps['icon']>;
default: any;
};
maxWidth: {
type: import("vue").PropType<import("@/components").TdTagProps['maxWidth']>;
};
shape: {
type: import("vue").PropType<import("@/components").TdTagProps['shape']>;
default: import("@/components").TdTagProps['shape'];
validator(val: import("@/components").TdTagProps['shape']): boolean;
};
size: {
type: import("vue").PropType<import("@/components").TdTagProps['size']>;
default: import("@/components").TdTagProps['size'];
validator(val: import("@/components").TdTagProps['size']): boolean;
};
theme: {
type: import("vue").PropType<import("@/components").TdTagProps['theme']>;
default: import("@/components").TdTagProps['theme'];
validator(val: import("@/components").TdTagProps['theme']): boolean;
};
variant: {
type: import("vue").PropType<import("@/components").TdTagProps['variant']>;
default: import("@/components").TdTagProps['variant'];
validator(val: import("@/components").TdTagProps['variant']): boolean;
};
onClick: import("vue").PropType<import("@/components").TdTagProps['onClick']>;
onClose: import("vue").PropType<import("@/components").TdTagProps['onClose']>;
}>> & Readonly<{
onClick?: (...args: any[]) => any;
onClose?: (...args: any[]) => any;
}>, {
closable: boolean;
disabled: boolean;
icon: (h: typeof import('vue').h) => import("@/common").TNodeReturnValue;
shape: "mark" | "round" | "square";
size: "extra-large" | "large" | "medium" | "small";
theme: "danger" | "default" | "primary" | "success" | "warning";
variant: "dark" | "light" | "light-outline" | "outline";
}, {}, {
CloseIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
size: {
type: StringConstructor;
};
onClick: {
type: import("vue").PropType<import("tdesign-icons-vue-next/lib/utils/types").IconProps["onClick"]>;
};
fillColor: {
type: import("vue").PropType<import("tdesign-icons-vue-next/lib/utils/types").IconProps["fillColor"]>;
};
strokeColor: {
type: import("vue").PropType<import("tdesign-icons-vue-next/lib/utils/types").IconProps["strokeColor"]>;
};
strokeWidth: {
type: import("vue").PropType<import("tdesign-icons-vue-next/lib/utils/types").IconProps["strokeWidth"]>;
};
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
size: {
type: StringConstructor;
};
onClick: {
type: import("vue").PropType<import("tdesign-icons-vue-next/lib/utils/types").IconProps["onClick"]>;
};
fillColor: {
type: import("vue").PropType<import("tdesign-icons-vue-next/lib/utils/types").IconProps["fillColor"]>;
};
strokeColor: {
type: import("vue").PropType<import("tdesign-icons-vue-next/lib/utils/types").IconProps["strokeColor"]>;
};
strokeWidth: {
type: import("vue").PropType<import("tdesign-icons-vue-next/lib/utils/types").IconProps["strokeWidth"]>;
};
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;