"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CimConfigDisconnectedAlert = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const react_core_1 = require("@patternfly/react-core");
const external_link_alt_icon_1 = require("@patternfly/react-icons/dist/js/icons/external-link-alt-icon");
const react_i18next_1 = require("react-i18next");
const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
const CimConfigDisconnectedAlert = ({ docDisconnectedUrl }) => {
    const { t } = (0, use_translation_wrapper_1.useTranslation)();
    return (React.createElement(react_core_1.Alert, { title: React.createElement(react_i18next_1.Trans, { t: t },
            "ai:To configure for disconnected environments,",
            ' ',
            React.createElement("a", { href: docDisconnectedUrl, target: "_blank", rel: "noreferrer" },
                "view documentation ",
                React.createElement(external_link_alt_icon_1.ExternalLinkAltIcon, null))), variant: react_core_1.AlertVariant.info, isInline: true }));
};
exports.CimConfigDisconnectedAlert = CimConfigDisconnectedAlert;
//# sourceMappingURL=CimConfigDisconnectedAlert.js.map