mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +08:00
Update index.tsx
This commit is contained in:
parent
93cc6d5cbc
commit
99639bf5de
@ -21,6 +21,6 @@ const icon = (props: IconProps) => {
|
||||
return <i {...omit(props, ['type', 'spin'])} className={classString} />;
|
||||
};
|
||||
|
||||
icon.displayName = 'Icon';
|
||||
icon['displayName'] = 'Icon';
|
||||
|
||||
export default icon;
|
||||
|
Loading…
Reference in New Issue
Block a user