-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
27 lines (24 loc) · 709 Bytes
/
index.js
File metadata and controls
27 lines (24 loc) · 709 Bytes
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 from 'react';
import { AppRegistry, StatusBar, Text, View } from 'react-native';
import { StackNavigator } from 'react-navigation';
import StatusView from './src/components/status_view.js';
import AddRouteForm from './src/components/add_route_form.js';
StatusBar.setBarStyle('light-content', false);
StatusBar.setBackgroundColor('#1375b3');
let AmtrakStatus = StackNavigator(
{
StatusView: { screen: StatusView },
},
{
navigationOptions: {
headerStyle: {
backgroundColor: '#1375b3'
},
headerTintColor: '#fff',
headerTitleStyle: {
fontWeight: 'bold',
},
}
}
);
AppRegistry.registerComponent('AmtrakStatus', () => AmtrakStatus);