import "../../node_modules/tippy.js/animations/shift-away.css"; import React from "react"; import Tippy from "@tippyjs/react"; import { Placement } from "tippy.js"; declare type TippyProps = React.ComponentProps; export interface AbstractTooltipProps { /** * Fallback placements to use if the default placement clips the content. * * @see https://popper.js.org/docs/v2/modifiers/flip/#fallbackplacements */ fallbackPlacements?: readonly Placement[]; /** * Force the tooltip to be visible. Only use this for testing purposes; don't * use this to programatically control the component */ forceVisibleForTestingOnly?: boolean; /** * Relaxed is intended for when your tooltip has a header and you need some * more space */ padding?: "normal" | "relaxed"; /** * Indicates that the popup list should match the width of the trigger * compoonent * * @default false */ matchTriggerWidth?: boolean; } declare type Props = TippyProps & AbstractTooltipProps & ({ visible?: undefined; } | { visible: boolean; trigger?: undefined; }); export declare const AbstractTooltip: React.FC; export {};