diff --git a/.github/workflows/release-x.yml b/.github/workflows/release-x.yml index 578ad1c49599..715a1a6a7383 100644 --- a/.github/workflows/release-x.yml +++ b/.github/workflows/release-x.yml @@ -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 }} diff --git a/components/icon/index.en-US.md b/components/icon/index.en-US.md index 3fd18d68e3b6..9418bf7125ac 100644 --- a/components/icon/index.en-US.md +++ b/components/icon/index.en-US.md @@ -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. diff --git a/components/icon/index.zh-CN.md b/components/icon/index.zh-CN.md index 566d33200c39..e62f99f15f97 100644 --- a/components/icon/index.zh-CN.md +++ b/components/icon/index.zh-CN.md @@ -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 组件名为图标名加主题做为后缀。