-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
44 lines (41 loc) · 960 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
import React from 'react'
import { Platform, StatusBar } from 'react-native'
import { StackNavigator } from 'react-navigation';
import HomeScreen from './src/Components/Screens/HomeScreen'
import CardScreen from './src/Components/Screens/CardScreen'
import HelpScreen from './src/Components/Screens/HelpScreen'
/* Navigation Routes */
const App = StackNavigator(
{
Home: {
screen: HomeScreen,
navigationOptions: ({ navigation }) => ({
header: null,
})
},
Card: {
screen: CardScreen,
navigationOptions: ({ navigation }) => ({
})
},
Help: {
screen: HelpScreen,
navigationOptions: ({ navigation }) => ({
title: 'Ayuda',
})
}
},
{
cardStyle: {
shadowColor: 'transparent'
},
navigationOptions: {
headerStyle: {
elevation: 1,
shadowOpacity: 1,
}
},
headerMode: 'screen',
}
);
export default App;