import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog"; import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, } from "@/components/ui/alert-dialog"; import { cn } from "@/lib/utils"; /** Above BrandDrawer (z-110) and ShareDialog (z-120). */ const EQ_OVERWRITE_DIALOG_Z = "z-[130]"; export function PeqOverwriteConfirmDialog({ open, title, description, cancelLabel, confirmLabel, onConfirm, onCancel, }: { open: boolean; title: string; description: string; cancelLabel: string; confirmLabel: string; onConfirm: () => void; onCancel: () => void; }) { return ( { if (!next) onCancel(); }} > {title} {description} {cancelLabel} {confirmLabel} ); }