import type { ReactNode } from 'react' import { motion, AnimatePresence } from 'framer-motion' interface ConfirmModalProps { isOpen: boolean onClose: () => void onConfirm: () => void title: string message: ReactNode confirmText?: string cancelText?: string type?: 'danger' | 'warning' | 'default' | 'info' confirmVariant?: 'danger' | 'primary' loading?: boolean } export default function ConfirmModal({ isOpen, onClose, onConfirm, title, message, confirmText = 'Potvrdit', cancelText = 'Zrušit', type = 'default', confirmVariant, loading }: ConfirmModalProps) { return ( {isOpen && (

{title}

{message}

)} ) }