List
List can be used to display a list of items with List.Item as children.
List can be used to display a list of items with List.Item
as children.
API Reference
Props
List
Name
Type
Default
Description
children*
React.ReactElement<ListItemProps>[]
The content of the list.
List.Item
Name
Type
Default
Description
type*
ListType
The type of the list item.
title*
string
The title of the list item.
subtitle*
string
The subtitle of the list item.
icon
IconEnum
The icon of the list item.
image
string
The image of the list item.
additional
string
The additional content of the list item.
count
{ value: number; icon: IconEnum; }
The count of the list item.
actions
ActionsProps
The actions for the list item.
Examples
Basic
With additional content
With actions
Types
ListType
Supported list types for the List.Item
component.
Last updated