MMA301_-_FA_2024_-_FE_2972.webp
Mahito95

MMA301_-_FA_2024_-_FE_2972.webp

  • Media owner Mahito95
  • Ngày thêm
(Choose 1 answer)
Study the code below and choose the correct output that you will expect to see on the emulator.
import React from 'react';
import { View, Text, StyleSheet } from 'react-native';
const CoreComponentExample = () => {
return ( <View style={styles.container}>
<Text style={styles.text}>React Native!</Text></View>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignltems: 'center',
backgroundColor: '#f0f0f0',//Light gray },
text: {
fontSize: 24,
fontWeight: 'bold',color: 'blue',
},
Text1: {
fontSize: 24,
fontWeight: 'bold',
color: 'black',},});
export default CoreComponentExample;
A. The text "React Native!" in blue color on a light gray background
D The toxt "Dont Motival" in rod color on a light grow bookaround

43

Thông tin

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

Image metadata

Filename
MMA301_-_FA_2024_-_FE_2972.webp
File size
270.4 KB
Dimensions
1920px x 1012px

Share this media

Back
Bên trên Bottom