npm.io
0.10.7 • Published 2 years ago

@govuk-react/unordered-list

Licence
MIT
Version
0.10.7
Deps
1
Size
11 kB
Vulns
0
Weekly
0

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[]