"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ValidationSection = void 0;
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const react_core_1 = require("@patternfly/react-core");
const common_1 = require("../../../../common");
const ValidationsRunningAlert_1 = tslib_1.__importDefault(require("../../common/ValidationsRunningAlert"));
const wizardTransition_1 = require("../wizardTransition");
const ValidationSection = ({ currentStepId, clusterStatus, validationsInfo, hosts, children, }) => {
    return (react_1.default.createElement(react_core_1.AlertGroup, null,
        children,
        clusterStatus && (react_1.default.createElement(common_1.ClusterWizardStepValidationsAlert, { currentStepId: currentStepId, clusterStatus: clusterStatus, hosts: hosts, validationsInfo: validationsInfo, wizardStepsValidationsMap: wizardTransition_1.wizardStepsValidationsMap },
            react_1.default.createElement(ValidationsRunningAlert_1.default, null)))));
};
exports.ValidationSection = ValidationSection;
//# sourceMappingURL=ValidationSection.js.map