When I try to add an image to my first react native application it doesn't appear even if it take place.
I did like the documentation said but the problem still exists
here's my code:
<Image source={{uri:'https://facebook.github.io/react/img/logo_og.png'}}
resizeMode="stretch" style={{
alignSelf: 'center',
height: 150,
width: 150,
borderWidth: 1,
borderRadius: 75
}}/>
I used require for local images and also the same:
<Image source={require('./images/item7.jpg')}
resizeMode="stretch" style={{
alignSelf: 'center',
height: 150,
width: 150,
borderWidth: 1,
borderRadius: 75
}}/>