mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +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,
|
[`anticon-${type}`]: true,
|
||||||
}, className);
|
}, className);
|
||||||
return <i {...omit(props, ['type', 'spin'])} className={classString} />;
|
return <i {...omit(props, ['type', 'spin'])} className={classString} />;
|
||||||
}
|
};
|
||||||
|
|
||||||
(icon as any).displayName = 'Icon';
|
(icon as any).displayName = 'Icon';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user