Image Module

suggest change

Import Image from react-native, then use it:

import { Image } from 'react-native';

<Image source={{uri: 'https://image-source.com/awesomeImage'}} />

A local image uses require, but the same component:

import { Image } from 'react-native';

<Image source={require('./img/myCoolImage.png')} />

Network images do not show unless you set width and height. Static require images include their intrinsic size.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents