@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) • 460 B
Flow
// @flow
import type { Globals } from "../../common/common.js.flow";
import type { Positions, Sizes } from "../index";
export type Props = {|
shownMobile: boolean,
shown: boolean,
size: Sizes,
tooltipId: string,
children: React$Node,
onClose: () => void,
onCloseMobile: () => void,
onEnter: () => void,
preferredPosition: ?Positions,
containerRef: React$ElementRef<*>,
...Globals,
|};
declare export default React$ComponentType<Props>;