Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
endDrag() {
ReactTooltip.show() // enable tooltips
},
}
clickHandler = () => {
ReactTooltip.show(this.lastSubIcon);
setTimeout(() => {
ReactTooltip.hide(this.lastSubIcon);
}, 2000);
};
}
openPicker( picker ) {
this.setState( {
[ picker ] : true,
} );
Tooltip.show(
findDOMNode( this.refs[ picker ] )
);
}
componentDidUpdate() {
ReactTooltip.show(this.tipRef);
}
show() {
useEffect(() => {
if (show) {
ReactTooltip.show(findDOMNode(tooltipRef.current))
} else {
ReactTooltip.hide(findDOMNode(tooltipRef.current))
}
})
.catch(error => {
if (error === 5) {
this.setState({
errorMessage: "Sorry, the Bungies servers are down for maintenance. Try again later!",
});
} else {
this.setState({
errorMessage: "Oops! Couldn't find a player by that name on this platform.",
});
}
ReactTooltip.show(this.refs.input)
});
}
show() {
ReactTooltip.show(this.tipRef);
}
hide() {
componentDidUpdate() {
ReactTooltip.show(this.tipRef);
}
render() {