UNPKG

@navikt/ds-react

Version:

React components from the Norwegian Labour and Welfare Administration.

13 lines (12 loc) 543 B
interface StepperContextValue { onStepChange: (step: number) => void; lastIndex: number; orientation: "horizontal" | "vertical"; interactive: boolean; activeStep: number; index: number; } export declare const StepperContextProvider: import("react").ForwardRefExoticComponent<StepperContextValue & { children: React.ReactNode; } & import("react").RefAttributes<unknown>>, useStepperContext: <S extends boolean = true>(strict?: S) => S extends true ? StepperContextValue : StepperContextValue | undefined; export {};