ant-design/components/list/index.en-US.md
niko 12bbe3776c Feature list component (#7150)
* add list component

* fixed the demo syntax

* update list snapshots
2017-08-09 15:45:08 +08:00

46 lines
1.2 KiB
Markdown

---
category: Components
type: Data Display
title: List
cols: 1
---
Simple List.
## When To Use
A list can be used to display content related to a single subject. The content can consist of multiple elements of varying type and size.
## API
### List
| Property | Description | Type | Default |
|----------|----------------|----------|--------------|
| bordered | - | string \| boolean | false |
| loading | -| boolean | false |
| itemLayout | - | string | - |
| showLoadMore | -| boolean | false |
| loadingMore | - | boolean | false |
| onMoreClick | -| function | - |
| pagination | - | boolean \| object | false |
### List.Item
| Property | Description | Type | Default |
---------|-------------|------|---------
| extra | - | string\|ReactNode | - |
### List.Item.Meta
| Property | Description | Type | Default |
---------|-------------|------|---------
| avatar | - | ReactNode | - |
| title | - | string\|ReactNode | - |
| description | - | string\|ReactNode | - |
### List.Item.Action
| Property | Description | Type | Default |
---------|-------------|------|---------
| actions | - | Array | - |