I've created a project using react-native-webpack-starter-kit and am trying to add static images to the project to use.
https://github.com/jhabdas/react-native-webpack-starter-kit
I tried simply adding an images folder next to the .js React component (in src/components) and tried the following but none seem to work. There's no error messages but the image just doesn't appear.
<Image source={require("image!add_people_icon")} style={styles.icon} />
<Image source={require("image!add_people_icon.png")} style={styles.icon} />
<Image source={require("./images/add_people_icon.png")} style={styles.icon} />
Is there anything I need to do in the actual xcode project, such as add the images to the images catalog there?
I'm using webpack / fileloader for serving images as well.