다음으로 로그인에 사용할 SignInScreen 화면 컴포넌트를 만들어봅시다.
screens/SignInScreen.js
import React from 'react'; import {StyleSheet, Text} from 'react-native'; import {SafeAreaView} from 'react-native-safe-area-context'; function () { return ( <SafeAreaView style={styles.fullscreen}> <Text style={styles.text}>PublicGallery</Text> </SafeAreaView> ); } const styles StyleSheet. ({ fullscreen: { flex: 1, alignItems: 'center', justifyContent: 'center', }, text: { fontSize: 32, fontWeight: 'bold', }, }); export default SignInScreen;