import type { TooltipViewProps } from "./Tooltip.types"; export function TooltipView({ text, position, className, tooltipClasses, pointerClasses, }: TooltipViewProps) { // Pointer is 10px tall with 7px sticking out // Icon_Pointer.svg is 14x8, scale to 10px height = 17.5px width const pointerWidth = 17.5; const pointerHeight = 10; const pointerRotation = position === "top" ? "rotate-180" : "rotate-0"; return ( ); }