Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release-x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: ${{ github.event.ref_type == 'tag' && !contains(github.event.ref, 'alpha') }}
steps:
- name: Tweet
uses: nearform-actions/github-action-notify-twitter@6dc44ca3a9f6d0b546aa61499183984db6661cd4 # master
uses: nearform-actions/github-action-notify-twitter@1720bf1002ac22015ad2bb627d2a173d463383e1 # master
with:
message: |
🤖 Ant Design just released antd@${{ github.event.ref }} ✨🎊✨ Check out the full release note: https://github.com/ant-design/ant-design/releases/tag/${{ github.event.ref }}
Expand Down
2 changes: 1 addition & 1 deletion components/icon/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Remember to use `@ant-design/icons@6.x` with `antd@6.x`, see: [#53275](https://g
| rotate | Rotate by n degrees (not working in IE9) | number | - | |
| spin | Rotate icon with animation | boolean | false | |
| style | The style properties of icon, like `fontSize` and `color` | CSSProperties | - | |
| twoToneColor | Only supports the two-tone icon. Specify the primary color | string (hex color) | - | |
| twoToneColor | Only supports the two-tone icon. Specify the primary color, or primary and secondary colors | string \| \[string, string] | - | |

We still have three different themes for icons, icon component name is the icon name suffixed by the theme name.

Expand Down
2 changes: 1 addition & 1 deletion components/icon/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*xEDOTJx2DEkAAA
| rotate | 图标旋转角度(IE9 无效) | number | - | |
| spin | 是否有旋转动画 | boolean | false | |
| style | 设置图标的样式,例如 `fontSize` 和 `color` | CSSProperties | - | |
| twoToneColor | 仅适用双色图标。设置双色图标的主要颜色,支持设置十六进制颜色字符串 | string \| string[] | - | |
| twoToneColor | 仅适用双色图标。设置双色图标的主要颜色,或主要颜色和次要颜色 | string \| \[string, string] | - | |

其中我们提供了三种主题的图标,不同主题的 Icon 组件名为图标名加主题做为后缀。

Expand Down
Loading