import React, { useState } from 'react' import { ... } from 'react-native'; const App = () => { const [photo, setPhoto] = useState('https://res.cloudinary.com/ogcodes/image/upload/v1581387688/m0e7y6s5zkktpceh2moq.jpg'); ... return ( <View> <View style={styles.imageContainer}> <Image source={{ uri: photo }} style={styles.backgroundImage}/> </Image> </View> ... </View > ); }; ...