"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var getOnRampProviderLogo_1 = require("./getOnRampProviderLogo");
var getStyleForTopLevelComponent_1 = require("../../../core/utils/getStyleForTopLevelComponent");
var WaitingFor_1 = require("../../commons/WaitingFor");
require("../../styles/base/waitingForOnRampProvider.sass");
exports.WaitingForOnRampProvider = function (_a) {
    var className = _a.className, onRampProviderName = _a.onRampProviderName, _b = _a.logoColor, logoColor = _b === void 0 ? 'white' : _b;
    var onRampProviderLogo = getOnRampProviderLogo_1.getOnRampProviderLogo(onRampProviderName, logoColor);
    var note = "Waiting for " + onRampProviderName + " to send you money";
    return (react_1.default.createElement("div", { className: "universal-login-waiting-for-ramp" },
        react_1.default.createElement("div", { className: getStyleForTopLevelComponent_1.getStyleForTopLevelComponent(className) },
            react_1.default.createElement("div", { className: "waiting-for-ramp" },
                react_1.default.createElement("div", { className: "waiting-for-ramp-content" },
                    react_1.default.createElement("img", { src: onRampProviderLogo, className: "waiting-for-ramp-img" }),
                    react_1.default.createElement(WaitingFor_1.WaitingFor, { action: note, className: className }))))));
};
//# sourceMappingURL=WaitingForOnRampProvider.js.map