1 | import * as React from '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: React.Context<WizardContextType>;
|
12 | export declare const WizardContextProvider: React.Provider<WizardContextType>;
|
13 | export declare const WizardContextConsumer: React.Consumer<WizardContextType>;
|
14 |
|
\ | No newline at end of file |