From 99639bf5de5bcec4c98810f05c35aa299e5be034 Mon Sep 17 00:00:00 2001 From: handycode Date: Thu, 6 Apr 2017 03:24:47 +0800 Subject: [PATCH] Update index.tsx --- components/icon/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/icon/index.tsx b/components/icon/index.tsx index a7eade2ad1..6bf6ba2726 100755 --- a/components/icon/index.tsx +++ b/components/icon/index.tsx @@ -21,6 +21,6 @@ const icon = (props: IconProps) => { return ; }; -icon.displayName = 'Icon'; +icon['displayName'] = 'Icon'; export default icon;