"use client"; import Modal from "./Modal"; import Button from "./Button"; interface ConfirmDialogProps { isOpen: boolean; title?: string; message: string; confirmLabel?: string; cancelLabel?: string; destructive?: boolean; onConfirm: () => void; onClose: () => void; } export default function ConfirmDialog({ isOpen, title = "Confirmation", message, confirmLabel = "Confirmer", cancelLabel = "Annuler", destructive = false, onConfirm, onClose, }: ConfirmDialogProps) { return (

{message}

); }