
title을 textstyle로 쓰면 적용이 안되던데 꼭 title이라고 써야하나요?

작성한 코드 및 에러 메세지
import React from 'react';
import { View , StyleSheet, Text , Image, ScrollView, TouchableOpacity, customAlert } from 'react-native';
export default function App() {
return (
<ScrollView style={styles.container}>
<Text style={styles.title}>나만의 꿀팁</Text>
<Image style={styles.imageStyle}
source={{url:'https://firebasestorage.googleapis.com/v0/b/sparta-image.appspot.com/o/lecture%2Fmain.png?alt=media&token=8e5eb78d-19ee-4359-9209-347d125b322c'}}
resizeMode={"contain"}
/>
</ScrollView>
)
}
const styles = StyleSheet.create({
container: {
backgroundColor: '#fff'
},
title:{
fontSize:50,
fontWeight:'700',
marginLeft:20,
marginTop:50
},
imageStyle: {
width:"90%",
height:200,
// 컨텐츠의 이미지는 넓이와 높이 값을 지정해 주어야 한다
alignSelf:"center",
// align 시리즈 찾아보기
borderRadius:10,
// 구부림
marginTop: 20
// 나만의 꿀팁 사이 마진값
}
})
