@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.
23 lines (19 loc) • 525 B
Flow
// @flow
import * as React from "react";
import type { Globals } from "../../../common/common.js.flow";
import type { Aligns, Positions, Sizes } from "..";
export type Props = {|
shown: boolean,
size: Sizes,
tooltipId: ?string,
children: React.Node,
parent: ?React.Node,
onClose: () => void,
onCloseMobile: () => void,
onEnter: () => void,
preferredPosition: ?Positions,
preferredAlign: ?Aligns,
containerRef: React.ElementRef<*>,
...Globals,
|};
declare export default React.ComponentType<Props>;