Bereaksi JS Image Path SRC dari folder lokal

// Assuming logo.png is in the same folder as JS file
import logo from './logo.png';

// ...later
<img src={logo} alt="logo" />
kepl3r