From 826f483d45efc7d6b7c33495aa1444b2afe1e933 Mon Sep 17 00:00:00 2001 From: zkwolf Date: Sun, 15 Nov 2020 23:03:37 +0800 Subject: [PATCH] feat: tag support icon slot --- 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 5cd8e502ff..ca8bd3e7f8 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,