How to access image from public folder in react
<img src={process.env.PUBLIC_URL + '/images/logo.jpg'} />
<img src={window.location.origin + '/images/logo.jpg'} />
click for more React codes, read about react doc
How to access image from public folder in react
<img src={process.env.PUBLIC_URL + '/images/logo.jpg'} />
<img src={window.location.origin + '/images/logo.jpg'} />
click for more React codes, read about react doc