Alert
Alerts call attention to a semantic message and load alongside the rest of the page content. They can optionally be dismissed upon user action.
Examples
Variants
Action
Optional props
variant
Variants of the alert, one of: informational, success, critical, warning.
type
informational
success
critical
warning
default
informational
onDismiss
Callback fired when the alert is dismissed.
type
React.MouseEventHandler<HTMLButtonElement>
default
null