List
Simple list and list item component.
Examples
Blocks
This component is used in the following Blocks:
Theme
This component uses the following default theme:
- root{}(3 keys)
- Show all
Learn more about how to customize in the Theme documentation.
API
Prop | Description | Default |
---|---|---|
active | Whether the item is active or not.boolean | |
disabled | Whether the item is disabled or not.boolean | |
disablePadding | Disable the padding ( including gutters ).boolean | |
disableGutters | Disable the gutters ( left + right padding ).boolean | |
dense | Whether the item data is dense and reduce the padding.boolean | |
contentClassName | Class name for the content element.string | |
start | A start component for the list item.ReactNode | |
end | A end component for the list item.ReactNode | |
theme | Theme for the List.ListTheme | |
ref | Reference to the list item element.LegacyRef<HTMLDivElement> |