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.

23 lines (17 loc) 473 B
// @flow import type { Globals, Translation } from "../common/common.js.flow"; export type OnClose = () => void | Promise<any>; export type Position = "left" | "right"; export type Props = {| +children: React$Node, +onClose?: OnClose, +shown: boolean, +width?: string, +position?: Position, +noPadding?: boolean, +suppressed?: boolean, +title?: Translation, +actions?: React$Node, ...Globals, |}; declare export default React$ComponentType<Props>;