From 3dbc357ff2837debbb9b36a25b14be4757297cad Mon Sep 17 00:00:00 2001 From: Wei Zhu Date: Mon, 22 Oct 2018 13:35:31 +0800 Subject: [PATCH] Update Icon typeings --- components/icon/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/icon/index.tsx b/components/icon/index.tsx index b4313c5f91a7..cb6b0e0abce5 100755 --- a/components/icon/index.tsx +++ b/components/icon/index.tsx @@ -43,9 +43,9 @@ export interface IconProps { } export interface IconComponent

extends React.SFC

{ - createFromIconfontCN?: typeof createFromIconfontCN; - getTwoToneColor?: typeof getTwoToneColor; - setTwoToneColor?: typeof setTwoToneColor; + createFromIconfontCN: typeof createFromIconfontCN; + getTwoToneColor: typeof getTwoToneColor; + setTwoToneColor: typeof setTwoToneColor; unstable_ChangeThemeOfIconsDangerously?: typeof unstable_ChangeThemeOfIconsDangerously; unstable_ChangeDefaultThemeOfIcons?: typeof unstable_ChangeDefaultThemeOfIcons; }