Is there a way to load static images with uri
?
According to the doc, this is the way to load static images:
<Image source={require('./my-icon.png')} />
But if you want to load remote images, you have to use the uri
prop
<Image source={{uri: 'https://remote.com/my-icon.png'}} />
Is there a convenient way to load static images and remote images in the same way?