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

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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @govuk-react/unordered-list

    Weekly Downloads

    3,212

    Version

    0.10.6

    License

    MIT

    Unpacked Size

    12.6 kB

    Total Files

    12

    Last publish

    Collaborators

    • loque-
    • steve_sims
    • petelockey
    • penx
    • marksy