UNPKG

@kiwicom/orbit-components

Version:

Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.

27 lines (26 loc) 878 B
import * as React from "react"; export type Status = "available" | "completed" | "disabled"; export interface WizardStepContextValue { index: number; status: Status; isColumnOnDesktop: boolean; nextStepStatus: Status; isCompact: boolean; isLastStep: boolean; isActive: boolean; onChangeStep?: (stepIndex: number) => void | Promise<any>; onClose: () => void; } export declare const WizardStepContext: React.Context<WizardStepContextValue>; export declare const WizardStepContextProvider: ({ index, status, isLastStep, isColumnOnDesktop, nextStepStatus, isCompact, isActive, onChangeStep, onClose, children, }: { index: any; status: any; isLastStep: any; isColumnOnDesktop: any; nextStepStatus: any; isCompact: any; isActive: any; onChangeStep: any; onClose: any; children: any; }) => React.JSX.Element;