Skip to content

Commit 8bf2d25

Browse files
committed
docs: update changelog
1 parent eb355b9 commit 8bf2d25

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CHANGELOG.en-US.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- Much more display accuracy in lower-level screens.
1212
- Support multiple colors for icon.
1313
- No need to change built-in icons with overriding styles by providing more props in component.
14+
- 😓 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).
1415
- 🌟 Add the `theme` attribute to set the theme style of the icon.
1516
- 🌟 Added `component` attribute, you can externally pass a component to customize the control rendering result.
1617
- 🌟 The `twoToneColor` property is added to control the theme color of the two-color icon.

CHANGELOG.zh-CN.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77
### 与antd 3.10.x同步
88

99
- 🔥🔥🔥 使用了 svg 图标替换了原先的 font 图标,从而带来了以下优势:
10-
可以离线化使用,不需要从支付宝 cdn 下载字体文件,图标不会因为网络问题呈现方块,也无需字体文件本地部署。
11-
在低端设备上 svg 有更好的清晰度。
12-
支持多色图标。
13-
对于内建图标的更换可以提供更多 API,而不需要进行样式覆盖。
10+
- 可以离线化使用,不需要从支付宝 cdn 下载字体文件,图标不会因为网络问题呈现方块,也无需字体文件本地部署。
11+
- 在低端设备上 svg 有更好的清晰度。
12+
- 支持多色图标。
13+
- 对于内建图标的更换可以提供更多 API,而不需要进行样式覆盖。
14+
- 😓 但同时带来打包文件过大问题,相关解决方案和讨论可以查看 React 版 ant-design [issue](https://github.com/ant-design/ant-design/issues/12011)
1415
- 🌟 新增 `theme` 属性,可以设置图标的主题风格。
1516
- 🌟 新增 `component` 属性,可以外部传入一个组件来自定义控制渲染结果。
1617
- 🌟 新增 `twoToneColor` 属性,可以控制双色图标的主题色。

0 commit comments

Comments
 (0)