diff --git a/components/icon/index.tsx b/components/icon/index.tsx index 91c5555725..726f08eee4 100755 --- a/components/icon/index.tsx +++ b/components/icon/index.tsx @@ -19,7 +19,7 @@ const icon = (props: IconProps) => { [`anticon-${type}`]: true, }, className); return ; -} +}; (icon as any).displayName = 'Icon';