Appearance
AlertDialog
Dialog xác nhận chặn tương tác.
ts
import { AlertDialog, AlertDialogTrigger, AlertDialogContent, AlertDialogAction, AlertDialogCancel } from "@minap/ui";Sample
Props / API
| Prop / API | Type | Default | Notes |
|---|---|---|---|
open / onOpenChange | controlled | — | |
AlertDialogAction | button | — | Xác nhận |
AlertDialogCancel | button | — | Đóng / hủy |
Behavior
- Focus trapped
- Esc / overlay dismiss theo Radix
Related
- Category:
overlays - Catalog gallery:
/catalog/overlays