tdesign-vue-next
Version:
TDesign Component for vue-next
51 lines (50 loc) • 1.36 kB
TypeScript
import { TdTagProps } from './type';
import { PropType } from 'vue';
declare const _default: {
closable: BooleanConstructor;
color: {
type: StringConstructor;
default: string;
};
content: {
type: PropType<TdTagProps["content"]>;
};
default: {
type: PropType<TdTagProps["default"]>;
};
disabled: BooleanConstructor;
icon: {
type: PropType<TdTagProps["icon"]>;
default: any;
};
maxWidth: {
type: PropType<TdTagProps["maxWidth"]>;
};
shape: {
type: PropType<TdTagProps["shape"]>;
default: TdTagProps["shape"];
validator(val: TdTagProps["shape"]): boolean;
};
size: {
type: PropType<TdTagProps["size"]>;
default: TdTagProps["size"];
validator(val: TdTagProps["size"]): boolean;
};
theme: {
type: PropType<TdTagProps["theme"]>;
default: TdTagProps["theme"];
validator(val: TdTagProps["theme"]): boolean;
};
title: {
type: StringConstructor;
default: string;
};
variant: {
type: PropType<TdTagProps["variant"]>;
default: TdTagProps["variant"];
validator(val: TdTagProps["variant"]): boolean;
};
onClick: PropType<TdTagProps["onClick"]>;
onClose: PropType<TdTagProps["onClose"]>;
};
export default _default;