"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CombinedLogo = void 0;
var react_1 = __importDefault(require("react"));
var react_fontawesome_1 = require("@fortawesome/react-fontawesome");
var TestBoxLogo_1 = require("./TestBoxLogo");
var colors_1 = require("../../base/colors");
var Flex_1 = require("../Flex");
var pro_regular_svg_icons_1 = require("@fortawesome/pro-regular-svg-icons");
var CombinedLogo = function (_a) {
    var src = _a.src, icon = _a.icon, alt = _a.alt, _b = _a.height, height = _b === void 0 ? 32 : _b;
    return (react_1.default.createElement("a", { href: "https://www.testbox.com", target: "_blank", rel: "noreferrer", style: { height: height } },
        react_1.default.createElement(Flex_1.Flex, { justifyContent: "space-between", alignItems: "center", height: height },
            react_1.default.createElement(TestBoxLogo_1.TestBoxLogo, null),
            (src || icon) && (react_1.default.createElement(react_1.default.Fragment, null,
                react_1.default.createElement(Flex_1.Flex, { mx: 1 },
                    react_1.default.createElement(react_fontawesome_1.FontAwesomeIcon, { icon: pro_regular_svg_icons_1.faPlus, color: colors_1.text.secondary })),
                src ? react_1.default.createElement("img", { src: src, height: height, alt: alt }) : icon)))));
};
exports.CombinedLogo = CombinedLogo;
//# sourceMappingURL=CombinedLogo.js.map