import React from 'react';
import { UNIVERSAL_LOGIN_LOGO_URL as DEFAULT_LOGO, EMPTY_LOGO } from '@universal-login/commons';
export var Logo = function (_a) {
    var logo = _a.logo, applicationName = _a.applicationName, deviceType = _a.deviceType;
    var src = isLogoEmpty(logo) ? DEFAULT_LOGO : logo;
    return (React.createElement("div", { className: "connected-devices-img-wrapper " + deviceType },
        React.createElement("img", { src: src, alt: applicationName, className: "connected-devices-img " + (logo === 'none' ? 'default' : '') })));
};
var isLogoEmpty = function (logo) { return logo === EMPTY_LOGO || logo === ''; };
//# sourceMappingURL=Logo.js.map