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 (22 loc) 677 B
// @flow import * as React from "react"; import type { Globals, Translation } from "../../common/common.js.flow"; import type { PositionsCore, AlignsCore, Offset } from "../index.js.flow"; export type Props = {| ...Globals, +children: React.Node, +offset: Offset, +closeText?: Translation, +preferredPosition: PositionsCore, +preferredAlign: AlignsCore, +containerRef: React.ElementRef<*>, +width?: string, +noPadding?: boolean, +overlapped?: boolean, +shown: boolean, +fixed?: boolean, +lockScrolling?: boolean, +actions?: React.Node, +onClose: (ev: SyntheticEvent<HTMLElement>) => void, |}; declare export default React.ComponentType<Props>;