how to write img jsx

JavaScript
<img src={window.location.origin + '/img/myImage.png'} />
Source

Also in JavaScript: