<Stack gap="sm">
<Alert variant="info" title="New version">
Dash 0.0.34 keeps compression dictionaries for every request.
</Alert>
<Alert variant="success" title="Deployed">The Workers are live.</Alert>
<Alert variant="warning" title="Migration pending">
Apply it before the new code runs.
</Alert>
<Alert variant="error" title="Build failed">
Two pages name the same route.
</Alert>
</Stack>import { Alert, Stack } from "@dash/server";Prop | Type | Description |
|---|---|---|
| variant | "info" | "success" | "warning" | "error" | |
| title | string | |
| dismissible | boolean | |
| onDismiss | () => void |