From bc03b6ede25621b2a59e737f49cfd18a6e3986cf Mon Sep 17 00:00:00 2001 From: zkwolf Date: Sun, 15 Nov 2020 23:18:42 +0800 Subject: [PATCH] feat: tag support icon slot (#3185) --- components/tag/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tag/index.tsx b/components/tag/index.tsx index 5cd8e502f..ca8bd3e7f 100644 --- a/components/tag/index.tsx +++ b/components/tag/index.tsx @@ -80,7 +80,7 @@ const Tag = defineComponent({ return () => { const { prefixCls: customizePrefixCls, - icon, + icon = slots.icon?.(), color, closeIcon = slots.closeIcon?.(), closable = false,