(44)
(Choose 1 answer)
Study the code below, and determine which one of the emulators
display the image as styled.
import React from 'react';
import { View, Image. StyleSheet } from 'react-native':
const styles = StyleSheet.create({
container: {
flex: 1.margin: 10,
}.
logo: {
width: 100,
1)
2)
3)
</
height: 100,
flex: 1
}
});
const DisplayAnImageWithStyle = () => {
return ( <View style={styles.container}>
<Image
resizeMode={"contain"}style={styles.logo}
source={require('./logo.png')}
</View>
export default DisplayAnImageWithStyle:
2:41