@govuk-react/unordered-list
v0.10.7
Published
Renders an unordered list containing children passed - also supports listStyleType prop.
Keywords
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.
- https://govuk-react.github.io/govuk-react/?path=/docs/ordered-list
- https://design-system.service.gov.uk/styles/typography/#lists
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[] |
