import { useTranslation } from 'react-i18next'; import { X, Trash2 } from 'lucide-react'; import { Modal, Button } from '../../ui'; export interface DeleteConfirmationModalProps { open: boolean; title: string; message: string; onClose: () => void; onConfirm: () => void; isDeleting: boolean; } export function DeleteConfirmationModal({ open, title, message, onClose, onConfirm, isDeleting, }: DeleteConfirmationModalProps) { const { t } = useTranslation(); return ( !isDeleting && onClose()} footer={ <> } > {message} ); }