"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = __importStar(require("react"));
var PaymentsStyledComponents_1 = require("./PaymentsStyledComponents");
var PaymentsTextComponents_1 = require("./PaymentsTextComponents");
exports.PaymentsWrapper = function (props) {
    return (React.createElement(PaymentsStyledComponents_1.PaymentWrapperStyled, null,
        React.createElement(PaymentsStyledComponents_1.PaymentHeader, null,
            React.createElement("h2", null,
                React.createElement(PaymentsTextComponents_1.SendPaymentHdrText, null)),
            React.createElement(PaymentsStyledComponents_1.PaymentHeaderFlex, null,
                React.createElement(PaymentsStyledComponents_1.PaymentHeaderNewsroom, null, props.newsroomName),
                props.usdToSpend && (React.createElement("div", null,
                    React.createElement(PaymentsStyledComponents_1.PaymentHeaderBoostLabel, null, "Boost"),
                    React.createElement(PaymentsStyledComponents_1.PaymentHeaderAmount, null, "$" + props.usdToSpend)))),
            React.createElement(PaymentsStyledComponents_1.PaymentHeaderTip, null,
                React.createElement(PaymentsTextComponents_1.PaymentToNewsroomsTipText, null))),
        props.children));
};
//# sourceMappingURL=PaymentsWrapper.js.map