mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
remove AntdIcon.library, make it inner.
This commit is contained in:
parent
5b5af6ae77
commit
a5b85fd520
@ -5,7 +5,7 @@ import { antDesignIcons } from '@ant-design/icons';
|
||||
import AntdIcon from '@ant-design/icons-react';
|
||||
import CustomIcon, { create } from './CustomIcon';
|
||||
|
||||
AntdIcon.library.add(...antDesignIcons);
|
||||
AntdIcon.add(...antDesignIcons);
|
||||
|
||||
export interface IconProps {
|
||||
type: string;
|
||||
|
@ -40,7 +40,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@ant-design/icons": "^0.1.0-alpha.2",
|
||||
"@ant-design/icons-react": "^0.1.0-alpha.5",
|
||||
"@ant-design/icons-react": "^0.1.0-alpha.6",
|
||||
"array-tree-filter": "^2.0.0",
|
||||
"babel-runtime": "6.x",
|
||||
"classnames": "~2.2.0",
|
||||
|
Loading…
Reference in New Issue
Block a user