"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 commons_1 = require("@universal-login/commons");
exports.Logo = function (_a) {
    var logo = _a.logo, applicationName = _a.applicationName, deviceType = _a.deviceType;
    var src = isLogoEmpty(logo) ? commons_1.UNIVERSAL_LOGIN_LOGO_URL : logo;
    return (react_1.default.createElement("div", { className: "connected-devices-img-wrapper " + deviceType },
        react_1.default.createElement("img", { src: src, alt: applicationName, className: "connected-devices-img " + (logo === 'none' ? 'default' : '') })));
};
var isLogoEmpty = function (logo) { return logo === commons_1.EMPTY_LOGO || logo === ''; };
//# sourceMappingURL=Logo.js.map