ant-design/components/collapse/demo/size.md
JiaQi 9d51345f90
feat(Collapse): Collapse support for setting size (#40286)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-01-21 18:45:09 +08:00

445 B

zh-CN

折叠面板有大、中、小三种尺寸。

通过设置 sizelarge 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.