-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
82 lines (77 loc) · 1.99 KB
/
App.js
File metadata and controls
82 lines (77 loc) · 1.99 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
import React, { Component } from 'react';
import {
StyleSheet
} from 'react-native';
import { Provider } from 'react-redux';
import { PersistGate } from 'redux-persist/integration/react';
import { store, persistor } from './store';
import WelcomeView from './src/Welcome';
import SignView from './src/Sign';
import CreateAccountView from './src/CreateAccountView';
import ForgotPassView from './src/ForgotPassView';
import DeliveryView from './src/DeliveryView';
import LocationView from './src/LocationView';
import { Router, Scene, Stack } from 'react-native-router-flux';
import MainView from './src/Main';
import LocationMap from './src/LocationMap';
type Props = {};
export default class App extends Component<Props> {
render() {
return (
<Provider
store={store}
>
<Router>
<Stack key="root">
<Scene
key="welcome"
component={WelcomeView}
initial
hideNavBar
/>
<Scene
key="sign"
component={SignView}
navTransparent
/>
<Scene
key="createAccount"
component={CreateAccountView}
navTransparent
/>
<Scene
key="forgotPassword"
component={ForgotPassView}
navTransparent
/>
<Scene
key="delivery"
component={DeliveryView}
navTransparent
/>
<Scene
key="location"
component={LocationView}
navTransparent
/>
<Scene
key="locationmap"
component={LocationMap}
navTransparent
/>
<Scene
key="main"
component={MainView}
hideNavBar
/>
</Stack>
</Router>
</Provider>
);
}
}
const styles = StyleSheet.create({
navBar:{
backgroundColor: 'transparent',
}
});