| 1 |
"use strict"; |
| 2 |
Object.defineProperty(exports, "__esModule", { value: true }); |
| 3 |
exports.WizardContextConsumer = exports.WizardContextProvider = exports.WizardContext = void 0; |
| 4 |
const react_1 = require("react"); |
| 5 |
exports.WizardContext = (0, react_1.createContext)({ |
| 6 |
goToStepById: () => null, |
| 7 |
goToStepByName: () => null, |
| 8 |
onNext: () => null, |
| 9 |
onBack: () => null, |
| 10 |
onClose: () => null, |
| 11 |
activeStep: { name: null } |
| 12 |
}); |
| 13 |
exports.WizardContextProvider = exports.WizardContext.Provider; |
| 14 |
exports.WizardContextConsumer = exports.WizardContext.Consumer; |
| 15 |
//# sourceMappingURL=WizardContext.js.map |