how to get img value in react class component code example Example: img src in react js import Logo from “./logo.png”; <img src={Logo}/>