1 | import * as React from 'react';
|
2 | export interface StepperContextType {
|
3 | activeStep: number;
|
4 | alternativeLabel: boolean;
|
5 | connector: React.ReactNode;
|
6 | nonLinear: boolean;
|
7 | orientation: 'horizontal' | 'vertical';
|
8 | }
|
9 | /**
|
10 | * Provides information about the current step in Stepper.
|
11 | */
|
12 | declare const StepperContext: React.Context<{} | StepperContextType>;
|
13 | /**
|
14 | * Returns the current StepperContext or an empty object if no StepperContext
|
15 | * has been defined in the component tree.
|
16 | */
|
17 | export declare function useStepperContext(): StepperContextType | {};
|
18 | export default StepperContext;
|