diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 9491b0bfb..285f6fc31 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -11,6 +11,7 @@ - Much more display accuracy in lower-level screens. - Support multiple colors for icon. - No need to change built-in icons with overriding styles by providing more props in component. + - 😓 But at the same time bring the problem that the bundle file is too big, related solutions and discussions can check the React version of ant-design [issue](https://github.com/ant-design/ant-design/issues/12011). - 🌟 Add the `theme` attribute to set the theme style of the icon. - 🌟 Added `component` attribute, you can externally pass a component to customize the control rendering result. - 🌟 The `twoToneColor` property is added to control the theme color of the two-color icon. diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index e1639ced3..f27f3fb69 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -7,10 +7,11 @@ ### 与antd 3.10.x同步 - 🔥🔥🔥 使用了 svg 图标替换了原先的 font 图标,从而带来了以下优势: - 可以离线化使用,不需要从支付宝 cdn 下载字体文件,图标不会因为网络问题呈现方块,也无需字体文件本地部署。 - 在低端设备上 svg 有更好的清晰度。 - 支持多色图标。 - 对于内建图标的更换可以提供更多 API,而不需要进行样式覆盖。 + - 可以离线化使用,不需要从支付宝 cdn 下载字体文件,图标不会因为网络问题呈现方块,也无需字体文件本地部署。 + - 在低端设备上 svg 有更好的清晰度。 + - 支持多色图标。 + - 对于内建图标的更换可以提供更多 API,而不需要进行样式覆盖。 + - 😓 但同时带来打包文件过大问题,相关解决方案和讨论可以查看 React 版 ant-design [issue](https://github.com/ant-design/ant-design/issues/12011)。 - 🌟 新增 `theme` 属性,可以设置图标的主题风格。 - 🌟 新增 `component` 属性,可以外部传入一个组件来自定义控制渲染结果。 - 🌟 新增 `twoToneColor` 属性,可以控制双色图标的主题色。