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.

26 lines (20 loc) 559 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 = {| +actions?: React.Node, +children: React.Node, +lockScrolling?: boolean, +noPadding?: boolean, +fixedHeader?: boolean, +onClose?: OnClose, +position?: Position, +shown: boolean, +suppressed?: boolean, +title?: Translation, +width?: string, ...Globals, |}; declare export default React.ComponentType<Props>;