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

12 lines
451 B
Markdown
Raw Normal View History

## zh-CN
折叠面板有大、中、小三种尺寸。
2024-03-22 11:57:58 +08:00
通过设置 `size``large` `small` 分别把折叠面板设为大、小尺寸。若不设置 `size`,则尺寸默认为中。
## en-US
Ant Design supports a default collapse size as well as a large and small size.
If a large or small collapse is desired, set the `size` property to either `large` or `small` respectively. Omit the `size` property for a collapse with the default size.