MMA301_-_SU_2023_-_2_514.webp
M

MMA301_-_SU_2023_-_2_514.webp

(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


Thông tin

Category
MMA301
Thêm bởi
minhduc94
Ngày thêm
Lượt xem
2,170
Lượt bình luận
3
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
MMA301_-_SU_2023_-_2_514.webp
File size
68 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom