@govuk-react/unordered-list
TypeScript icon, indicating that this package has built-in type declarations

0.10.7 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @govuk-react/unordered-list

Weekly Downloads

5,065

Version

0.10.7

License

MIT

Unpacked Size

11.6 kB

Total Files

10

Last publish

Collaborators

  • loque-
  • steve_sims
  • petelockey
  • penx
  • marksy