how to make a div clickable in react and type text inside code example
Example: make div clickable
<div onclick="location.href='#';" style="cursor: pointer;">
</div>
<div onclick="location.href='#';" style="cursor: pointer;">
</div>