I have images placed the usual way in Xcode's Images.xcassets for my ReactJS Native project. However, I don't know the syntax to reference a PNG from an <Image />
.
https://facebook.github.io/react-native/docs/image.html gives an example syntax of:
<Image
style={styles.icon}
source={require('image!myIcon')}
/>
If I have a foo.png immediately under Images.xcassets, how can I properly reference it from React Native?