JSFiddle - React, Tailwind, and code Playground
HTML
<div></div>
<button>Button!</button>
JavaScript
$('button').mouseenter (function () {
$('div').html('I am hovered!');
});
$('button').mouseleave (function () {
$('div').html('Mouse left the button!');
});