List
A unified interface for creating lists.
Props
Prop name | Type | Default | Description |
---|---|---|---|
className | string | null | A custom className you would like to pass to the Component |
isNumbered | bool | false | Whether or not this is a number list |
marker | string | null | The style of list marker to be used. Any valid CSS listStyleType can be used, or a custom marker, if required |
padding | string | null | The padding value to be applied to the List. |
children | union | Required | The content of the List |
Numbers
No Marker
ListItem
The fundamental buuilding block of a list is, of course, the ListItem
.
Accepting no props at this stage, this component is simply a wrapper.
Props
Prop name | Type | Default | Description |
---|---|---|---|
className | string | null | A custom className you would like to pass to the Component |
padding | string | null | |
children | union | Required | The content of the ListItem |