ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • [EXPO]React-Navigation을 사용할때 세팅하기.
    React-Native/React-Navigation 2021. 12. 1. 10:38
    728x90
    expo install react-native-gesture-handler react-native-reanimated react-native-screens react-native-safe-area-context @react-native-community/masked-view @react-navigation/core @react-navigation/native @react-navigation/native-stack @react-navigation/drawer @react-navigation/bottom-tabs react-native-vector-icons

    이거 다 해주면 좋은것 같다. 

     

    그리고 SafeAreaView는 react-native에서 내장된걸 사용하자.

    import { StyleSheet, Text, View, SafeAreaView } from 'react-native';

     

    아씨 @react-navigation/stack 이건 예전 버전이고 @react-navigation/native-stack 이걸 새로 깔아줘야 할듯...?

    728x90
Designed by Tistory.