import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, } from '@/components/ui/alert-dialog'; interface ConfirmationDialogProps { open: boolean; onOpenChange: (open: boolean) => void; title: string; description: string; confirmLabel?: string; cancelLabel?: string; onConfirm: () => void; variant?: 'default' | 'destructive'; } export const ConfirmationDialog = ({ open, onOpenChange, title, description, confirmLabel = 'Confirm', cancelLabel = 'Cancel', onConfirm, variant = 'default', }: ConfirmationDialogProps) => { const handleConfirm = () => { onConfirm(); onOpenChange(false); }; return ( {title} {description} {cancelLabel} {confirmLabel} ); }; ConfirmationDialog.displayName = 'ConfirmationDialog';