import React, { useContext } from 'react';
import { AiFillCheckCircle } from '../../../assets/icons';
import { ModalContext } from '../Context';
import { useTranslation } from 'react-i18next';
import { ConfirmContainer } from './styles';
const ConfirmFeedback = () => {
    const { closeModal } = useContext(ModalContext);
    const { t } = useTranslation();
    setTimeout(closeModal, 2000);
    return (React.createElement(ConfirmContainer, null,
        React.createElement(AiFillCheckCircle, { width: 60, height: 60, cursor: "pointer" }),
        React.createElement("span", { className: "title" }, t('feedback.confirm.title')),
        React.createElement("span", null, t('feedback.confirm.text'))));
};
export default ConfirmFeedback;
//# sourceMappingURL=Confirm.js.map