We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0d226d commit 89c134aCopy full SHA for 89c134a
components/icon/index.js
@@ -17,7 +17,11 @@ import { filterEmpty, getListeners } from '../_util/props-util';
17
import Base from '../base';
18
19
// Initial setting
20
-VueIcon.add(...Object.keys(allIcons).map(key => allIcons[key]));
+
21
+// https://github.com/vueComponent/ant-design-vue/issues/2745
22
+let validIcons = allIcons.default || allIcons;
23
24
+VueIcon.add(...Object.keys(validIcons).map(key => validIcons[key]));
25
setTwoToneColor('#1890ff');
26
const defaultTheme = 'outlined';
27
let dangerousTheme;
0 commit comments