We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d8f3fd commit 7e1301aCopy full SHA for 7e1301a
components/tag/index.tsx
@@ -44,6 +44,7 @@ export type TagProps = HTMLAttributes & Partial<ExtractPropTypes<typeof tagProps
44
45
const Tag = defineComponent({
46
name: 'ATag',
47
+ props: tagProps,
48
emits: ['update:visible', 'close'],
49
setup(props: TagProps, { slots, emit, attrs }) {
50
const { getPrefixCls } = inject('configProvider', defaultConfigProvider);
@@ -137,8 +138,6 @@ const Tag = defineComponent({
137
138
},
139
});
140
-Tag.props = tagProps;
141
-
142
Tag.CheckableTag = CheckableTag;
143
144
Tag.install = function(app: App) {
0 commit comments