-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
42 lines (39 loc) · 993 Bytes
/
index.js
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
import { AppRegistry, Platform } from 'react-native'
import { Navigation } from 'react-native-navigation'
import { registerScreens } from './App'
import App from './App'
AppRegistry.registerComponent('msapp', () => App)
registerScreens()
Navigation.startSingleScreenApp({
screen: {
screen: 'msapp.Root',
title: 'MakeSafe',
navigatorStyle: {
navBarBackgroundColor: '#1b84e9',
navBarTextColor: '#fff',
navBarNoBorder: true,
statusBarTextColorSchemeSingleScreen: 'light',
statusBarTextColorScheme: 'light',
navBarButtonColor: '#fff'
},
navigatorButtons: {}
},
drawer: {
left: {
screen: 'msapp.Types.Drawer',
passProps: {},
disableOpenGesture: false,
fixedWidth: 500
},
style: {
drawerShadow: false,
leftDrawerWidth: 50,
rightDrawerWidth: 50
},
type: 'MMDrawer',
animationType: 'none',
disableOpenGesture: false
},
passProps: {},
animationType: 'none'
});