An alert is a concise, event-driven message that communicates information and requires minimal interaction.
Informative alerts provide a user with general messages and non-critical information.
Danger alerts inform users about errors that require attention.
Success alerts inform users that an action has been completed successfully.
The type of alert. Accepts informative, danger, warning and success.
An optional title to display in bold above the main text.
Callback function invoked when the Alert is closed.
Provides a close icon in the top right corner.
Aria label for close button
If true, will allow the Alert's opened and closed state to be controlled through props rather than within the component's internal state
The Alert component has access to space style props. See the
style prop documentation for a full list of available props.
To provide a more detailed explanation of the message that is being communicated, a link to the new screen can be provided in the child content using a Link component.