next
Version:
The React Framework
15 lines (14 loc) • 460 B
TypeScript
import './tooltip.css';
type TooltipDirection = 'top' | 'bottom' | 'left' | 'right';
interface TooltipProps {
children: React.ReactNode;
title: string | null;
direction?: TooltipDirection;
arrowSize?: number;
offset?: number;
bgcolor?: string;
color?: string;
className?: string;
}
export declare const Tooltip: import("react").ForwardRefExoticComponent<TooltipProps & import("react").RefAttributes<HTMLDivElement>>;
export {};