Debian Codegraph @

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

raw
1 /// <reference types="react" />
2 import { WizardStep } from './Wizard';
3 export interface WizardContextType {
4 goToStepById: (stepId: number | string) => void;
5 goToStepByName: (stepName: string) => void;
6 onNext: () => void;
7 onBack: () => void;
8 onClose: () => void;
9 activeStep: WizardStep;
10 }
11 export declare const WizardContext: import("react").Context<WizardContextType>;
12 export declare const WizardContextProvider: import("react").Provider<WizardContextType>;
13 export declare const WizardContextConsumer: import("react").Consumer<WizardContextType>;
14 //# sourceMappingURL=WizardContext.d.ts.map