-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
45 lines (40 loc) · 1009 Bytes
/
App.js
File metadata and controls
45 lines (40 loc) · 1009 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import React from 'react'
import {render} from 'react-dom'
import {Provider} from 'react-redux'
import {createStore} from 'redux'
import {createDrawerNavigator, createStackNavigator,} from 'react-navigation';
import {Linking} from 'react-native'
import {WebBrowser} from 'expo'
import Login from './src/Login'
import Home from './src/Home'
import Players from './src/Players'
import Sidebar from './src/Sidebar'
import Queue from './src/Queue'
import Search from './src/Search'
const Drawer = createDrawerNavigator(
{
Home: {screen: Home},
Login: {screen:Login},
Players: {screen: Players},
Queue: {screen: Queue},
Search: {screen: Search},
},
{
initialRouteName: 'Login',
contentOptions: {
activeTintColor: "#1190cb"
},
contentComponent: props => <Sidebar {...props} />,
}
)
const App = createStackNavigator(
{
Drawer: {screen: Drawer},
Login: {screen: Login},
},
{
initialRouteName: 'Login',
header:null,
}
)
export default App