objective
I have a div that I want to make act like a tooltip with reactjs.
HTML
<div>on hover here we will show the tooltip</div>
<div>
<div class="tooltip_custom">this is the tooltip!!</div>
</div>
I am used to angularjs using the ng-show
with a condition on the <div>
, I was wondering if there is such binding in reactjs , or else how can I do this functionality ?
Thanks