-
Notifications
You must be signed in to change notification settings - Fork 577
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
Why remove the <Icon/>
component?🙏
#611
Comments
<Icon/>
component?<Icon/>
component?🙏
English: 中文: |
In Font Awesome,there is a same provider named 在 Font Awesome,他们也有一个类似的提供器名为 |
English:
While ant design decided use SVG component instead of font icon, the
Icon
is used for some business!It provide a way to render icon through the icon tag.
We have a business used this component like that.
We should keep
Icon
, but we can replace the implementation of icons.Now the
Icon
throw an warning:中文:
即便 ant design 决定使用 SVG 组件来代替字体图标,
Icon
依然被使用在某些业务上!它提供了一种方式通过图标标签(名称字符串)来渲染图标。
我们正有一个业务如此。
我们可以替换图标的实现方式,但是应该保留
Icon
组件。现在我们的
Icon
会在控制台打印一条警告:The text was updated successfully, but these errors were encountered: