@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
16 lines • 646 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.WizardContextConsumer = exports.WizardContextProvider = exports.WizardContext = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
exports.WizardContext = React.createContext({
goToStepById: () => null,
goToStepByName: () => null,
onNext: () => null,
onBack: () => null,
onClose: () => null,
activeStep: { name: null }
});
exports.WizardContextProvider = exports.WizardContext.Provider;
exports.WizardContextConsumer = exports.WizardContext.Consumer;
//# sourceMappingURL=WizardContext.js.map
;