import an image react in the public folder
<img src={process.env.PUBLIC_URL + '/yourPathHere.jpg'} /> <img src={window.location.origin + '/yourPathHere.jpg'} />
Source: stackoverflow.com
import an image react in the public folder
<img src={process.env.PUBLIC_URL + '/yourPathHere.jpg'} /> <img src={window.location.origin + '/yourPathHere.jpg'} />
Source: stackoverflow.com