6.3.2 WriteScreen UI 준비하기
이제 WriteScreen의 UI를 준비해봅시다. 우선 WriteScreen에서 기본적으로 보이는 헤더를 숨겨주세요.
screens/RootStack.js
import React from 'react'; import {createNativeStackNavigator} from '@react-navigation/native-stack'; import MainTab from './MainTab'; import WriteScreen from './WriteScreen'; const Stack (); function () { return ( <Stack.Navigator> <Stack.Screen name="MainTab" component={MainTab} options={{headerShown: false}} /> <Stack.Screen name="Write" component={WriteScreen} options={{headerShown: false}} /> </Stack.Navigator> ); } export default RootStack;