Check out example codes for "get image from theme folder wordpress". It will help you in understanding the concepts better.

Code Example 1

<img src="/wp-content/themes/your-theme/assets/images/1.jpg" />

Learn ReactJs, React Native from akashmittal.com