-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
28 lines (26 loc) · 1 KB
/
App.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
import React, { Component } from 'react';
import {Platform} from 'react-native';
import { Router, Scene, Stack} from 'react-native-router-flux';
import First from './components/index/firstpage';
import SignIn from './components/auth/signIn';
import SignUp from './components/auth/signUp';
import Main from './components/index/index';
import Place from './components/index/place';
import GMap from './components/index/map';
export default class App extends Component//<{}>
{
render() {
return (
<Router>
<Stack key="root" activeBackgroundColor>
<Scene key="first" component={First} initial={true} hideNavBar/>
<Scene key="signin" component={SignIn} hideNavBar/>
<Scene key="signup" component={SignUp} hideNavBar/>
<Scene key='index' component={Main} hideNavBar/>
<Scene key='place' component={Place} hideNavBar/>
<Scene key='map' component={GMap} hideNavBar/>
</Stack>
</Router>
);
}
}