-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
49 lines (40 loc) · 965 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import React, { Component } from 'react';
import { StyleSheet } from 'react-native';
import Resa from './screens/Resa';
import Map from './screens/Map';
import Main from './screens/Main';
import { createStackNavigator, createAppContainer } from 'react-navigation';
export default class App extends Component {
render() {
return (
<AppContainer />
);
}
}
const AppStackNavigator = createStackNavigator({
Main: Main,
Resa: Resa,
Map: Map,
},
{
defaultNavigationOptions: {
headerTintColor: '#fff',
title: '',
headerTitleStyle: {
textAlign: 'center',
flexGrow: 1,
},
headerStyle: {
elevation: 0,
backgroundColor: 'transparent',
shadowColor: 'transparent',
elevation: 0,
},
headerTransparent: true,
headerTintColor: '#fff',
}
}
);
const AppContainer = createAppContainer(AppStackNavigator);
const styles = StyleSheet.create({
});