Alert
Alert(
props):Element
An Alert calls a user’s attention to important information. It can be used to call out helpful
information, warn users, or report an error.

Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
props | AlertProps |
Returns
Section titled “Returns”Element
Example
Section titled “Example”import { Alert } from "@netlify/sdk/ui/react/components";
<Alert type="info">I contain an error.</Alert><Alert type="warn">I contain a warning.</Alert><Alert type="error">I contain an error.</Alert>