import React from 'react'; import RoundedButton from './RoundedButton'; export interface ModalProps { cancelClick?: () => void; confirmClick: () => void; text: string; confirmText?: string; icon?: JSX.Element; } const Modal: React.FC = ({ cancelClick, confirmClick }) => { return (
modal content
{cancelClick && ( )}
); }; export default Modal;