mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 20:18:22 +08:00
feat: tag support icon slot (#3185)
This commit is contained in:
parent
210dadc93c
commit
bc03b6ede2
@ -80,7 +80,7 @@ const Tag = defineComponent({
|
||||
return () => {
|
||||
const {
|
||||
prefixCls: customizePrefixCls,
|
||||
icon,
|
||||
icon = slots.icon?.(),
|
||||
color,
|
||||
closeIcon = slots.closeIcon?.(),
|
||||
closable = false,
|
||||
|
Loading…
Reference in New Issue
Block a user