import React, { ComponentProps, ComponentType } from 'react'; import { FormattedMessage as Message } from 'react-intl'; import Popup from 'app/components/ui/popup'; import { Button } from 'app/components/ui/form'; import styles from './contactForm.scss'; interface Props { email: string; onClose?: ComponentProps['onClose']; } const SuccessContactFormPopup: ComponentType = ({ email, onClose }) => ( } wrapperClassName={styles.successStateBoundings} onClose={onClose} data-testid="feedbackPopup" >
{email}
); export default SuccessContactFormPopup;