import React from 'react'; import Modal from '@/components/elements/Modal'; interface Props { title: string; buttonText: string; children: string; visible: boolean; onConfirmed: () => void; onCanceled: () => void; } const ConfirmationModal = ({ title, children, visible, buttonText, onConfirmed, onCanceled }: Props) => ( onCanceled()} >

{title}

{children}

); export default ConfirmationModal;