Skip to content

Commit

Permalink
feat: tag support icon slot (#3185)
Browse files Browse the repository at this point in the history
  • Loading branch information
zkwolf authored Nov 15, 2020
1 parent 210dadc commit bc03b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tag/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const Tag = defineComponent({
return () => {
const {
prefixCls: customizePrefixCls,
icon,
icon = slots.icon?.(),
color,
closeIcon = slots.closeIcon?.(),
closable = false,
Expand Down

0 comments on commit bc03b6e

Please sign in to comment.