mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
Update index.tsx
This commit is contained in:
parent
fb837ea9a8
commit
4736a1b990
@ -19,7 +19,7 @@ const icon = (props: IconProps) => {
|
||||
[`anticon-${type}`]: true,
|
||||
}, className);
|
||||
return <i {...omit(props, ['type', 'spin'])} className={classString} />;
|
||||
}
|
||||
};
|
||||
|
||||
(icon as any).displayName = 'Icon';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user