From 681887d2bf0a29af89cc444ea579b4e9805d767a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Sat, 4 May 2019 16:43:04 +0800 Subject: [PATCH] [bugfix] Icon: fix prop type --- packages/icon/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/icon/index.tsx b/packages/icon/index.tsx index f9651ebf5..1e3a45f27 100644 --- a/packages/icon/index.tsx +++ b/packages/icon/index.tsx @@ -51,7 +51,7 @@ function Icon( Icon.props = { name: String, - size: String, + size: [String, Number], color: String, info: [String, Number], tag: {