App.js 614 Bytes
import React, { Component } from "react";
import { StyleSheet, Text, View } from "react-native";
import { createAppContainer } from "react-navigation";
import { createStackNavigator } from "react-navigation-stack";
import MainScreen from "./Components/MainScreen";
import Detail from "./Components/AppTabNavigator/Detail"
// import MovieInfo from "./Components/MovieInfo";

const AppStackNavigator = createStackNavigator({
  Main: {
      screen: MainScreen // MainScreen 컴포넌트를 네비게이터에 등록
  },
  Datail:{
      screen: Detail
  }
});

export default createAppContainer(AppStackNavigator);