"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const react_core_1 = require("@patternfly/react-core");
const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
const OcmSNODisclaimer = ({ snoExpansionSupported = false }) => {
    const { t } = (0, use_translation_wrapper_1.useTranslation)();
    return (react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.info, title: t('ai:Limitations for using Single Node OpenShift'), isInline: true },
        react_1.default.createElement(react_core_1.List, null,
            react_1.default.createElement(react_core_1.ListItem, null, t('ai:Installing SNO will result in an OpenShift deployment that is not highly available.')),
            !snoExpansionSupported && (react_1.default.createElement(react_core_1.ListItem, null, t('ai:Currently, adding additional machines to your cluster is not supported.'))))));
};
exports.default = OcmSNODisclaimer;
//# sourceMappingURL=OcmSNODisclaimer.js.map