@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
24 lines • 634 B
TypeScript
import React from 'react';
import { PopoverProps } from '../../../popover/interfaces';
export interface TooltipProps {
value: React.ReactNode;
trackRef: React.RefObject<HTMLElement | SVGElement>;
trackKey?: string | number;
position?: 'top' | 'right' | 'bottom' | 'left';
className?: string;
contentAttributes?: React.HTMLAttributes<HTMLDivElement>;
size?: PopoverProps['size'];
hideOnOverscroll?: boolean;
onDismiss?: () => void;
}
export default function Tooltip({
value,
trackRef,
trackKey,
className,
contentAttributes,
position,
size,
hideOnOverscroll,
onDismiss
}: TooltipProps): JSX.Element;