Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix/iconfont no display #12013

Merged
merged 2 commits into from Sep 3, 2018
Merged

Hotfix/iconfont no display #12013

merged 2 commits into from Sep 3, 2018

Conversation

HeskeyBaozi
Copy link
Contributor

fix warning

console.error node_modules/_warning@4.0.2@warning/warning.js:34
    Warning: Icon should have `type` prop or `component` prop or `children`.

  console.error node_modules/_warning@4.0.2@warning/warning.js:34
    Warning: Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon.

  console.error node_modules/_@ant-design_icons-react@1.0.0@@ant-design/icons-react/lib/utils.js:39
    [@ant-design/icons-react]: Could not find icon: icon-tuichu-o.

具体表现为走createFromIconFontCN({...}) 也会创建 Icon。但是 type 属性传入 Icon 走了组件逻辑

@ant-design-bot
Copy link
Contributor

Deploy preview for ant-design ready!

Built with commit b51225b

https://deploy-preview-12013--ant-design.netlify.com

@afc163 afc163 merged commit f2467a1 into master Sep 3, 2018
@afc163 afc163 deleted the hotfix/iconfont-no-display branch September 3, 2018 05:12
@HeskeyBaozi HeskeyBaozi mentioned this pull request Sep 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants