Debian Codegraph @

node/@patternfly/react-core/dist/esm/deprecated/components/Wizard/WizardContext.js

raw
1 import { createContext } from 'react';
2 export const WizardContext = createContext({
3 goToStepById: () => null,
4 goToStepByName: () => null,
5 onNext: () => null,
6 onBack: () => null,
7 onClose: () => null,
8 activeStep: { name: null }
9 });
10 export const WizardContextProvider = WizardContext.Provider;
11 export const WizardContextConsumer = WizardContext.Consumer;
12 //# sourceMappingURL=WizardContext.js.map