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.

19 lines (15 loc) 525 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, +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;