@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.
20 lines (17 loc) • 521 B
Flow
// @flow
import type { Globals, Translation } from "../../common/common.js.flow";
import type { PositionsCore } from "../index.js.flow";
export type Props = {|
...Globals,
+children: React$Node,
+closeText?: Translation,
+preferredPosition: PositionsCore,
+containerRef: React$ElementRef<*>,
+width?: string,
+noPadding?: boolean,
+overlapped?: boolean,
+shown: boolean,
+fixed?: boolean,
+onClose: (ev: SyntheticEvent<HTMLElement>) => void,
|};
declare export default React$ComponentType<Props>;