"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 icons_1 = require("../icons");
var PaymentsTextComponents_1 = require("./PaymentsTextComponents");
var PaymentsStyledComponents_1 = require("./PaymentsStyledComponents");
exports.PaymentsWrapper = function (props) {
    return (React.createElement(PaymentsStyledComponents_1.PaymentWrapperStyled, null,
        React.createElement(PaymentsStyledComponents_1.PaymentHeader, null,
            props.showBackBtn && React.createElement(PaymentsStyledComponents_1.PaymentBackBtn, { onClick: props.handleBack }, "Back"),
            React.createElement(icons_1.CivilIcon, { width: 50, height: 13 }),
            React.createElement(PaymentsStyledComponents_1.PaymentAmountWrapper, null,
                React.createElement(PaymentsTextComponents_1.YourTipText, null),
                React.createElement(PaymentsStyledComponents_1.PaymentAmount, null, "$" + props.usdToSpend))),
        props.children));
};
//# sourceMappingURL=PaymentsWrapper.js.map