'use client'; import React from 'react'; import { Modal, ModalBody, ModalFooter } from '../Modal'; import { Button } from '../Button'; import { Icon } from '../Icon'; export interface ConfirmationDialogProps { open: boolean; onClose: () => void; onConfirm: () => void; title?: string; description?: string; confirmLabel?: string; cancelLabel?: string; destructive?: boolean; loading?: boolean; } export const ConfirmationDialog: React.FC = ({ open, onClose, onConfirm, title = 'تأكيد الإجراء الحساس', description = 'هل أنت متأكد من رغبتك في متابعة هذا الإجراء؟ لا يمكن التراجع عن هذه الخطوة.', confirmLabel = 'تأكيد الإجراء', cancelLabel = 'إلغاء', destructive = true, loading = false, }) => { return (

{title}

{description}

); };