how to set location in imagei is in public folder in react code example
Example: react src images from public folder
<img src={process.env.PUBLIC_URL + '/yourPathHere.jpg'} />
<img src={process.env.PUBLIC_URL + '/yourPathHere.jpg'} />