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.

20 lines (16 loc) 558 B
// @flow import * as React from "react"; import type { Globals } from "../common/common.js.flow"; import typeof WizardStepComponent from "./WizardStep"; export type Props = {| ...Globals, +id: string, +direction?: "row" | "column", +lockScrolling?: boolean, +completedSteps: number, +activeStep: number, +onChangeStep?: (stepIndex: number) => void | Promise<any>, +children: React.ChildrenArray<React.Element<WizardStepComponent>>, |}; declare export default React.ComponentType<Props>; declare export var WizardStep: WizardStepComponent;