UNPKG

583 BTypeScriptView Raw
1import * as React from 'react';
2import { WizardStep } from './Wizard';
3export 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}
11export declare const WizardContext: React.Context<WizardContextType>;
12export declare const WizardContextProvider: React.Provider<WizardContextType>;
13export declare const WizardContextConsumer: React.Consumer<WizardContextType>;
14//# sourceMappingURL=WizardContext.d.ts.map
\No newline at end of file