@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.
32 lines (26 loc) • 675 B
Flow
// @flow
/*
DOCUMENTATION: https://orbit.kiwi/components/tooltip/
*/
import * as React from "react";
import type { Popper } from "../primitives/TooltipPrimitive";
import type { Globals } from "../common/common.js.flow";
export type Sizes = "small" | "medium";
export type Size = {|
size: Sizes,
|};
export type Props = {|
...Globals,
+children?: React.Node,
+content: React.Node,
+size?: Sizes,
+enabled?: boolean,
+renderInPortal?: boolean,
+stopPropagation?: boolean,
+tabIndex?: string | number,
+removeUnderlinedText?: boolean,
+block?: boolean,
+lockScrolling?: boolean,
...Popper,
|};
declare export default React.ComponentType<Props>;