feat: tag support icon slot (#3185)
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