Check out example codes for "how to render a sprite in html5". It will help you in understanding the concepts better.

Code Example 1

image <source> = "sprite name here"

Learn ReactJs, React Native from akashmittal.com