"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const classnames_1 = tslib_1.__importDefault(require("classnames"));
const react_1 = tslib_1.__importDefault(require("react"));
const ClusterDetails_1 = tslib_1.__importDefault(require("./ClusterDetails"));
const ClusterWizardContext_1 = require("./ClusterWizardContext");
const ReviewStep_1 = tslib_1.__importDefault(require("./disconnected/ReviewStep"));
const BasicStep_1 = tslib_1.__importDefault(require("./disconnected/BasicStep"));
const getCurrentStep = (currentStepId) => {
    switch (currentStepId) {
        case 'disconnected-review':
            return react_1.default.createElement(ReviewStep_1.default, null);
        case 'disconnected-basic':
            return react_1.default.createElement(BasicStep_1.default, null);
        default:
            return react_1.default.createElement(ClusterDetails_1.default, null);
    }
};
const NewClusterWizard = () => {
    const { currentStepId } = (0, ClusterWizardContext_1.useClusterWizardContext)();
    return (react_1.default.createElement("div", { className: (0, classnames_1.default)('pf-v6-c-wizard', 'cluster-wizard') }, getCurrentStep(currentStepId)));
};
exports.default = NewClusterWizard;
//# sourceMappingURL=NewClusterWizard.js.map