-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
41 lines (37 loc) · 824 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
import { Navigation } from 'react-native-navigation';
import { register } from './src/screens';
console.disableYellowBox = true;
console.ignoredYellowBox = ['Warning: ReactNative.createElement'];
register();
Navigation.events().registerAppLaunchedListener(() => {
Navigation.setDefaultOptions({
topBar: {
visible: false,
height: 0,
},
statusBar: {
style: 'dark',
backgroundColor: '#00000000',
drawBehind: true,
},
});
Navigation.setRoot({
root: {
stack: {
children: [
{
component: {
name: 'SignIn',
options: {
topBar: {
visible: false,
height: 0,
},
},
},
},
],
},
},
});
});