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.

18 lines (14 loc) 497 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, +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;