docs: text optimize (#48012)

This commit is contained in:
Cooper 2024-03-22 11:57:58 +08:00 committed by GitHub
parent d8982a6def
commit be1d14d4cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 4 deletions

View File

@ -2,7 +2,7 @@
按钮有大、中、小三种尺寸。
通过设置 `size``large` `small` 分别把按钮设为大、小尺寸。若不设置 `size`,则尺寸为中。
通过设置 `size``large` `small` 分别把按钮设为大、小尺寸。若不设置 `size`,则尺寸默认为中。
## en-US

View File

@ -2,7 +2,7 @@
折叠面板有大、中、小三种尺寸。
通过设置 `size``large` `small` 分别把折叠面板设为大、小尺寸。若不设置 `size`,则尺寸为中。
通过设置 `size``large` `small` 分别把折叠面板设为大、小尺寸。若不设置 `size`,则尺寸默认为中。
## en-US

View File

@ -1,7 +1,11 @@
## zh-CN
触发器有大、中、小三种尺寸,若不设置 size则尺寸默认为中。
触发器有大、中、小三种尺寸。
通过设置 `size``large` `small` 分别把触发器设为大、小尺寸。若不设置 `size`,则尺寸默认为中。
## en-US
The trigger has three sizes: large, medium and small. If size is not set, the size will be medium by default.
Ant Design supports a default trigger size as well as a large and small size.
If a large or small trigger is desired, set the `size` property to either `large` or `small` respectively. Omit the `size` property for a trigger with the default size.