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.

24 lines (18 loc) 505 B
// @flow import * as React from "react"; 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>;