forked from Pau1fitz/react-native-football
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
76 lines (69 loc) Β· 1.69 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
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
import React from 'react';
import { View, Text, Button } from 'react-native';
import { StackNavigator } from 'react-navigation';
import Table from './components/Table';
import Goals from './components/GoalsBody';
import Assists from './components/AssistsBody';
import Results from './components/Results';
import Fixtures from './components/FixtureList';
import HomeScreen from './components/HomeScreen';
import News from './components/News';
const RootNavigator = StackNavigator({
Home: {
screen: HomeScreen,
navigationOptions: {
headerTitle: 'Home',
headerTintColor: '#fff',
headerStyle: { backgroundColor: 'rgb(60, 0, 60)'},
},
},
Table: {
screen: Table,
navigationOptions: {
headerTitle: 'Table',
headerTintColor: '#fff',
headerStyle: { backgroundColor: 'rgb(60, 0, 60)'},
},
},
Goals: {
screen: Goals,
navigationOptions: {
headerTitle: 'Goals',
headerTintColor: '#fff',
headerStyle: { backgroundColor: 'rgb(60, 0, 60)'},
},
},
Assists: {
screen: Assists,
navigationOptions: {
headerTitle: 'Assists',
headerTintColor: '#fff',
headerStyle: { backgroundColor: 'rgb(60, 0, 60)'},
},
},
Results: {
screen: Results,
navigationOptions: {
headerTitle: 'Results',
headerTintColor: '#fff',
headerStyle: { backgroundColor: 'rgb(60, 0, 60)'},
},
},
Fixtures: {
screen: Fixtures,
navigationOptions: {
headerTitle: 'Fixtures',
headerTintColor: '#fff',
headerStyle: { backgroundColor: 'rgb(60, 0, 60)'},
},
},
News: {
screen: News,
navigationOptions: {
headerTitle: 'News',
headerTintColor: '#fff',
headerStyle: { backgroundColor: 'rgb(60, 0, 60)'},
},
},
});
export default RootNavigator;