<AlertDialog>
<AlertDialogTrigger>Delete store</AlertDialogTrigger>
<AlertDialogBody size="sm">
<AlertDialogTitle>Delete this store?</AlertDialogTitle>
<AlertDialogDescription>
Its orders and settings go with it.
</AlertDialogDescription>
<AlertDialogClose>Keep it</AlertDialogClose>
</AlertDialogBody>
</AlertDialog>import { AlertDialog, AlertDialogTrigger, AlertDialogBody, AlertDialogTitle, AlertDialogDescription, AlertDialogClose } from "@dash/server";Prop | Type | Description |
|---|---|---|
| defaultOpen | boolean | |
| open | boolean | |
| onOpenChange | (open: boolean) => void |