All is Englist 😢 But we have to do this ! https://reactnavigation.org/docs/getting-started

1. 모듈 설치

yarn add @react-navigation/native
expo install react-native-gesture-handler react-native-reanimated react-native-screens react-native-safe-area-context @react-native-community/masked-view
yarn add @react-navigation/stack
yarn add @react-navigation/bottom-tabs

2. 예제 살펴보기

Navigator 기본 설정

Navigate(화면 이동)

화면간 데이터 주고 받기

Nesting Navigation

Header 꾸미기

Header Title 수정하기

Animation

Type StackParamList

type MainStackParamList = {
    HomeTab: undefined,
    Game: undefined,
    ModalStack: {
      screen: keyof ModalStackParamList
    }
};
type ModalStackParamList = {
    MakePinPointModal: undefined,
    MakePinPointQuiz: undefined,
    MakeCouponModal: undefined,
}