@govuk-react/unordered-list

Renders an unordered list containing children passed - also supports listStyleType prop.

Stats

StarsIssuesVersionUpdatedCreatedSize
@govuk-react/unordered-list
0.10.017 days ago4 years agoMinified + gzip package size for @govuk-react/unordered-list in KB

Readme

UnorderedList

Import

  import UnorderedList from '@govuk-react/unordered-list';

Use lists to make blocks of text easier to read, and to break information into manageable chunks.

Properties

Prop Required Default Type Description
children `````` ReactNode One or more ListItem components
listStyleType undefined string CSS value for list-style-type, or bullet or number to match govuk-frontend
margin `````` Margin Margin[]
mb `````` string number
padding `````` Padding Padding[]

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.