8.3 Firebase에 회원 정보 등록하기
screens 경로에 WelcomeScreen.js 파일을 다음과 같이 생성해주세요.
screens/WelcomeScreen.js
import React from 'react'; import {KeyboardAvoidingView, Platform, StyleSheet, Text} from 'react-native'; import {SafeAreaView} from 'react-native-safe-area-context'; function () { return ( <KeyboardAvoidingView style={styles.keyboardAvoidingView} behavior={Platform. ({ios: 'padding'})}> <SafeAreaView style={styles.block}> <Text style={styles.title}>환영합니다!</Text> <Text style={styles.description}>프로필을 설정하세요.</Text> </SafeAreaView> </KeyboardAvoidingView> ); } const styles StyleSheet. ({ keyboardAvoidingView: { flex: 1, }, block: { flex: 1, alignItems: 'center', justifyContent: 'center', }, title: { fontSize: 48, }, description: { marginTop: 16, fontSize 21, color '#757575', }, }); export default WelcomeScreen;