ant-design/components/list/demo/simple.md

16 lines
580 B
Markdown
Raw Normal View History

## zh-CN
列表拥有大、中、小三种尺寸。
通过设置 `size``large` `small` 分别把按钮设为大、小尺寸。若不设置 `size`,则尺寸为中。
可通过设置 `header``footer`,来自定义列表头部和尾部。
## en-US
Ant Design supports a default list size as well as a large and small size.
If a large or small list is desired, set the size property to either large or small respectively. Omit the size property for a list with the default size.
Customizing the header and footer of list by setting `header` and `footer` property.