0.7.1 • Published 3 years ago
@slice-and-dice/govuk-react-warning-text v0.7.1
WarningText
Import
import WarningText from '@govuk-react/warning-text';
Usage
Simple
<WarningText>Example</WarningText>
References:
- https://govuk-elements.herokuapp.com/typography/#typography-warning-text
- https://github.com/alphagov/govuk-frontend/tree/master/src/components/warning-text
Properties
Prop | Required | Default | Type | Description |
---|---|---|---|---|
children | true | | node | Warning text to be displayed |
0.7.1
3 years ago