JSFiddle - React, Tailwind, and code Playground
HTML
<div class=test></div>
CSS
.test {
border: 1px solid;
width: 150px;
height: 50px;
background-color: orange;
}
JavaScript
$('.test').hover(
function(){
$(this).html('<strong>Какой-то текст</strong>');
},
function(){
$(this).html('');
});