UNPKG

@atlaskit/tooltip

Version:

A tooltip briefly describes an interactive element on mouse hover or keyboard focus.

14 lines (13 loc) 659 B
/** * @jsxRuntime classic * @jsx jsx */ import React from 'react'; import { type TooltipProps } from './types'; /** * __Tooltip__ * * A tooltip is a floating, non-actionable label used to explain a user interface element or feature. */ declare function Tooltip({ children, position, mousePosition, content, truncate, component: Container, tag: TargetContainer, testId, delay, onShow, onHide, canAppear, hideTooltipOnClick, hideTooltipOnMouseDown, analyticsContext, strategy, ignoreTooltipPointerEvents, isScreenReaderAnnouncementDisabled, shortcut, shouldAlwaysFadeIn, shouldRenderToParent, }: TooltipProps): React.JSX.Element; export default Tooltip;