import React from 'react'; import Modal, { RequiredModalProps } from '@/components/elements/Modal'; type Props = { title: string; buttonText: string; children: string; onConfirmed: () => void; showSpinnerOverlay?: boolean; } & RequiredModalProps; const ConfirmationModal = ({ title, appear, children, visible, buttonText, onConfirmed, showSpinnerOverlay, onDismissed }: Props) => ( onDismissed()} >

{title}

{children}

); export default ConfirmationModal;