Skip to content

Commit bc03b6e

Browse files
authored
feat: tag support icon slot (#3185)
1 parent 210dadc commit bc03b6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/tag/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const Tag = defineComponent({
8080
return () => {
8181
const {
8282
prefixCls: customizePrefixCls,
83-
icon,
83+
icon = slots.icon?.(),
8484
color,
8585
closeIcon = slots.closeIcon?.(),
8686
closable = false,

0 commit comments

Comments
 (0)