ant-design/components/button/demo/size.md

12 lines
433 B
Markdown
Raw Normal View History

## zh-CN
2015-09-27 16:30:35 +08:00
按钮有大、中、小三种尺寸。
2015-06-07 14:03:00 +08:00
2024-03-22 11:57:58 +08:00
通过设置 `size``large` `small` 分别把按钮设为大、小尺寸。若不设置 `size`,则尺寸默认为中。
## en-US
2016-04-25 11:04:56 +08:00
Ant Design supports a default button size as well as a large and small size.
2016-04-25 11:04:56 +08:00
If a large or small button is desired, set the `size` property to either `large` or `small` respectively. Omit the `size` property for a button with the default size.