I'm new to react & I'm trying to add a local image to my react app. This is what i've currently, <Image source={require("images/pic.jpeg")} />
but cant figure out why am i getting this error.
ERROR 00:24 Unable to resolve "images/pic.jpeg" from "App.js"
I've installed the Image component also, and have made a separate images folder. I'm using iOS simulator.
If someone could help me regarding this, it would be great!Thanks in advance!