List

A unified interface for creating lists.

  • List item 1
  • List item 2
  • List item 3
  • List item 4

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

  1. List item 1
  2. List item 2
  3. List item 3
  4. List item 4

No Marker

  • List item 1
  • List item 2
  • List item 3
  • List item 4

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.

  • Google
  • Facebook
  • Twitter
  • Props

    Prop nameTypeDefaultDescription
    classNamestringnullA custom className you would like to pass to the Component
    paddingstringnull
    childrenunionRequiredThe content of the ListItem