rn-tooltip
rn-tooltip copied to clipboard
toggle tooltip programmatically
Hi team,
is there a way to toggle the tooltip programmatically?
You can put the component to ref and call this
const tooltipRef = useRef(null);
<Tooltip
ref={tooltipRef}
...the rest of you code
call this on your function
tooltipRef.current.toggleTooltip();