21 lines
502 B
Markdown
21 lines
502 B
Markdown
|
`List` (component)
|
||
|
==================
|
||
|
|
||
|
Use `List` to create a list of items to display.
|
||
|
|
||
|
Props
|
||
|
-----
|
||
|
|
||
|
### `items`
|
||
|
|
||
|
- **Required**
|
||
|
- Type: Array
|
||
|
- title: String - Title displayed for the list item.
|
||
|
- description: String - Description displayed beneath the list item title.
|
||
|
- before: Node - Content displayed before the list item text.
|
||
|
- after: Node - Content displayed after the list item text.
|
||
|
- onClick: Function - Click handler for this list item.
|
||
|
- Default: []
|
||
|
|
||
|
The list items to display.
|