0.10.7 • Published 2 years ago
@govuk-react/warning-text
Licence
MIT
Version
0.10.7
Deps
4
Size
12 kB
Vulns
0
Weekly
0
WarningText
Import
import WarningText from '@govuk-react/warning-text';
Use the warning text component when you need to warn users about something important, such as legal consequences of an action, or lack of action, that they might take.
- https://govuk-react.github.io/govuk-react/?path=/docs/warning-text
- https://design-system.service.gov.uk/components/warning-text/
Properties
| Prop | Required | Default | Type | Description |
|---|---|---|---|---|
children |
ReactNode | Warning text to be displayed |