useIsTooltipActive
Returns true if the Tooltip is currently active (visible). Returns false if the Tooltip is not active or if used outside a chart context. Recharts only allows one Tooltip per chart, so this hook does not take any parameters. Weird things may happen if you have multiple Tooltip components in the same chart so please don't do that. Available since Recharts 3.7
Return value
boolean
True if the Tooltip is active, false otherwise.