"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = __importStar(require("react"));
var PaymentsStyledComponents_1 = require("./PaymentsStyledComponents");
var PaymentsTextComponents_1 = require("./PaymentsTextComponents");
var elements_1 = require("@joincivil/elements");
var styled_components_1 = __importDefault(require("styled-components"));
var PaymentsSuccessStyled = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  font-family: ", ";\n  text-align: center;\n\n  svg {\n    margin-bottom: 10px;\n  }\n\n  h2 {\n    font-size: 18px;\n    font-weight: 600;\n    line-height: 22px;\n    margin: 0 0 5px;\n  }\n\n  p {\n    color: ", ";\n    font-size: 14px;\n    line-height: 17px;\n    margin: 0 0 15px;\n  }\n"], ["\n  font-family: ", ";\n  text-align: center;\n\n  svg {\n    margin-bottom: 10px;\n  }\n\n  h2 {\n    font-size: 18px;\n    font-weight: 600;\n    line-height: 22px;\n    margin: 0 0 5px;\n  }\n\n  p {\n    color: ", ";\n    font-size: 14px;\n    line-height: 17px;\n    margin: 0 0 15px;\n  }\n"])), elements_1.fonts.SANS_SERIF, elements_1.colors.accent.CIVIL_GRAY_1);
var PaymentSuccessTextStyled = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n  margin: 0 auto 30px;\n  width: 280px;\n"], ["\n  margin: 0 auto 30px;\n  width: 280px;\n"])));
exports.PaymentsSuccess = function (props) {
    return (React.createElement(PaymentsSuccessStyled, null,
        React.createElement(elements_1.HollowGreenCheck, { width: 48, height: 48 }),
        React.createElement(PaymentSuccessTextStyled, null,
            React.createElement(PaymentsTextComponents_1.PaymentSuccessText, { newsroomName: props.newsroomName, etherToSpend: props.etherToSpend, usdToSpend: props.usdToSpend, userSubmittedEmail: props.userSubmittedEmail })),
        React.createElement(PaymentsStyledComponents_1.PaymentBtn, { onClick: props.handleClose }, "Done")));
};
var templateObject_1, templateObject_2;
//# sourceMappingURL=PaymentsSuccess.js.map