mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 23:00:20 +08:00
12bbe3776c
* add list component * fixed the demo syntax * update list snapshots
1.2 KiB
1.2 KiB
category | type | title | cols |
---|---|---|---|
Components | Data Display | List | 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 | - |