List

A unified interface for creating lists.

Props

Prop nameTypeDefaultDescription
classNamestringnullA custom className you would like to pass to the Component
isNumberedboolfalseWhether or not this is a number list
markerstringnullThe style of list marker to be used. Any valid CSS listStyleType can be used, or a custom marker, if required
paddingstringnullThe padding value to be applied to the List.
childrenunionRequiredThe 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 nameTypeDefaultDescription
classNamestringnullA custom className you would like to pass to the Component
paddingstringnull
childrenunionRequiredThe content of the ListItem