import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import Popup from "../popup";
import TextBase from "../text";
import { currentTheme } from "../../theme";
import { t } from "ttag";
import { PopupInner } from "./styled";
const EmailResultPopup = ({ success, handleClose }) => {
    return (_jsx(Popup, { theme: currentTheme.popup, handleClose: handleClose, children: _jsxs(PopupInner, { children: [_jsx(TextBase.H2, { fontSize: 32, fontFamily: "Heavy", textAlign: "center", children: success ? t `Thank you!` : t `Service unavailable` }), _jsx(TextBase.T3, { textAlign: "center", children: success
                        ? t `We will get in touch with you shortly`
                        : t `We will fix it soon` })] }) }));
};
export default EmailResultPopup;
//# sourceMappingURL=email-popup.js.map