React-Native nwitter [ #2 ]
React Native로 nwitter 만들기
App.js 정리하기
먼저, 복잡하게 적혀져 있는 app.js 파일을 정리해주도록 하겠습니다!
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow strict-local
*/
import React from 'react';
import { StyleSheet, View, Text, StatusBar } from 'react-native';
const App = () => {
return (
<>
<View style={styles.continer}>
<Text style={styles.text}>Hello</Text>
</View>
</>
);
};
const styles = StyleSheet.create({
continer: {
flex:1,
backgroundColor: '#fff',
},
text : {
color: 'blue',
},
});
export default App;
결과보기
Author And Source
이 문제에 관하여(React-Native nwitter [ #2 ]), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://velog.io/@zopall0000/React-Native-nwitter-2저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)