forked from omi10859/ALiasNativeApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
27 lines (23 loc) · 903 Bytes
/
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
import React, {Component} from 'react';
import {Text, View} from 'react-native';
import {Container} from 'native-base';
import {Router, Scene} from 'react-native-router-flux';
import Event from './src/components/events/event.js';
import AppFooter from './src/components/footer.js';
import AppHeader from './src/components/header.js';
import About from './src/components/about/about.js';
import Communities from './src/components/communities/communities.js';
export default class App extends Component{
render() {
return(
<Container>
<Router>
<Scene key="event" component={AppHeader} title='Event' hideNavBar={true} />
<Scene key="communities" component={Communities} title='Communities' hidenNavBar={true}/>
<Scene key="about" component={About} title='About' hidenNavBar={true}/>
</Router>
<AppFooter/>
</Container>
);
}
}