-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
31 lines (27 loc) · 717 Bytes
/
App.js
File metadata and controls
31 lines (27 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import {Platform, StyleSheet, Text, View} from 'react-native';
import { SwitchNavigator } from 'react-navigation';
import { Provider } from "react-redux";
import Loading from '@screens/Loading';
import SignUp from '@screens/SignUp';
import Login from '@screens/Login';
import AddPlace from '@screens/AddPlace';
import Home from '@screens/Home';
import PlacesPage from '@screens/PlacesPage';
import PlaceDetail from '@screens/PlaceDetail';
import configureStore from "./src/store/store.js";
const store = configureStore();
const App = SwitchNavigator(
{
Loading,
SignUp,
Login,
Home,
AddPlace,
PlacesPage,
PlaceDetail
},
{
initialRouteName: 'Loading'
}
)
export default App