import { type ReactNode, useId, useState } from 'react' import { cn } from '../../lib/utils' export type TooltipProps = { /** Explanatory text shown on hover, keyboard focus or tap. */ content: ReactNode /** Trigger content. It sits inside a {open ? ( {content} ) : null} ) }