mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +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 AntdIcon from '@ant-design/icons-react';
|
||||||
import CustomIcon, { create } from './CustomIcon';
|
import CustomIcon, { create } from './CustomIcon';
|
||||||
|
|
||||||
AntdIcon.library.add(...antDesignIcons);
|
AntdIcon.add(...antDesignIcons);
|
||||||
|
|
||||||
export interface IconProps {
|
export interface IconProps {
|
||||||
type: string;
|
type: string;
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ant-design/icons": "^0.1.0-alpha.2",
|
"@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",
|
"array-tree-filter": "^2.0.0",
|
||||||
"babel-runtime": "6.x",
|
"babel-runtime": "6.x",
|
||||||
"classnames": "~2.2.0",
|
"classnames": "~2.2.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user