diff --git a/components/icon/CustomIcon.tsx b/components/icon/CustomIcon.tsx index 9918a11775..9b8f29f00f 100644 --- a/components/icon/CustomIcon.tsx +++ b/components/icon/CustomIcon.tsx @@ -42,7 +42,7 @@ const CustomIcon: React.SFC = (props) => { }, className); let content = ( - + {children} ); @@ -81,7 +81,7 @@ export function create(options: CustomIconOptions = {}): React.ComponentClass diff --git a/components/icon/index.tsx b/components/icon/index.tsx index b951cc443c..0791886093 100755 --- a/components/icon/index.tsx +++ b/components/icon/index.tsx @@ -24,7 +24,7 @@ const Icon: React.SFC = (props: IconProps) => { }, className); return ( - + ); };