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.

28 lines (24 loc) 705 B
// @flow import * as React from "react"; import type { Placement } from "@popperjs/core/lib/enums"; import type { Globals, Translation } from "../../common/common.js.flow"; import type { Offset } from ".."; export type Props = {| +children: React.Node, +closeText?: Translation, +referenceElement: HTMLElement | null, +placement: Placement, +width?: string, +noFlip?: boolean, +allowOverflow?: boolean, +noPadding?: boolean, +overlapped?: boolean, +shown: boolean, +fixed?: boolean, +lockScrolling?: boolean, +actions?: React.Node, +offset?: Offset, +onClose: (ev: SyntheticEvent<HTMLElement>) => void, ...Globals, |}; declare export default React.ComponentType<Props>;