Check out example codes for "inline hover styles". It will help you in understanding the concepts better.

Code Example 1

<a href="abc.html"
   onMouseOver="this.style.color='#0F0'"
   onMouseOut="this.style.color='#00F'" >Text</a>

Learn ReactJs, React Native from akashmittal.com