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.

25 lines (20 loc) 765 B
// Type definitions for @kiwicom/orbit-components // Project: http://github.com/kiwicom/orbit import * as React from "react"; import { Popper } from "../primitives/TooltipPrimitive"; import * as Common from "../common/common"; type Size = "small" | "medium"; export interface Props extends Common.Global, Popper { readonly children: React.ReactNode; readonly content: React.ReactNode; readonly size?: Size; readonly renderInPortal?: boolean; readonly stopPropagation?: boolean; readonly enabled?: boolean; readonly tabIndex?: string | number; readonly removeUnderlinedText?: boolean; readonly block?: boolean; readonly lockScrolling?: boolean; } declare const Tooltip: React.FunctionComponent<Props>; export { Tooltip, Tooltip as default };