npx gluestack-ui add alertimport { Alert, AlertIcon, AlertText } from '@/components/ui/alert';


export default () => (
<Alert>
<AlertIcon />
<AlertText />
</Alert>
);
| Prop | Type | Default | Description |
|---|---|---|---|
action | error | warning | success | info | muted | info | Determines the color scheme of the alert. |
variant | solid | outline | solid | Determines the visual style of the alert. |