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