0.7.1 • Published 3 years ago
@slice-and-dice/govuk-react-list-item v0.7.1
ListItem
Import
import ListItem from '@govuk-react/list-item';
Usage
Simple
<ListItem>List item example</ListItem>
With a link
import { Link } from '@govuk-react/link';
<ListItem>
<Link href="https://www.google.com/">List item example</Link>
</ListItem>
References
Properties
Prop | Required | Default | Type | Description |
---|---|---|---|---|
children | true | | node | List item content |
0.7.1
3 years ago