import * as React from 'react'; import { Placement, OffsetOptions, ShiftOptions } from '@floating-ui/react'; export interface TooltipProps { /** * Where the tooltip should be placed relative to the target. */ placement?: Placement; /** * background color of the tooltip. */ color?: 'light' | 'dark'; className?: string; children?: React.ReactNode; /** * The content of the tooltip. */ popper?: React.ReactNode; /** * classname for the popper container */ popperClassName?: string; /** * Disable the tooltip. * This hides the popper and makes the tooltip inactive. */ disabled?: boolean; /** * If true, the tooltip will be hidden when hovering the popper/tooltip */ interactive?: boolean; /** * If set, the tooltip will always respect the given placement */ forcePlacement?: boolean; /** * If true, the tooltip will be open. */ open?: boolean; /** * The padding between the arrow and the edges of the floating element. The default is 24px */ arrowPadding?: number; /** * Options for shifting the floating element to keep it in view. The default is `{ padding: 16 }` */ shiftOptions?: ShiftOptions; /** * Options for translating the floating element along the specified axes. * The default is 16px */ offsetOptions?: OffsetOptions | number; } export declare const Tooltip: React.FC>; export default Tooltip; //# sourceMappingURL=Tooltip.d.ts.map