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) 456 B
// @flow import * as React from "react"; import type { Globals } from "../common/common.js.flow"; export type Props = {| +title: React.Node, +description?: React.Node, +renderInPortal?: boolean, +maxWidth?: number, +illustration?: React.Node, +primaryAction: React.Node, +secondaryAction?: React.Node, +lockScrolling?: boolean, +onClose?: () => void | Promise<any>, ...Globals, |}; declare export default React.ComponentType<Props>;