-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.js
46 lines (33 loc) · 852 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
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
ListView
} from 'react-native';
import {
StackNavigator,
} from 'react-navigation';
import MenuScreen from './src/menu';
import NoteScreen from './src/note';
import FlashCardScreen from './src/flashcard';
import OptionsScreen from './src/options';
var navOptions = {
header: {
style: {
backgroundColor: '#0294cb',
},
titleStyle:{
color: 'white',
},
tintColor: 'white',
}
};
const App = StackNavigator({
Menu: { screen: MenuScreen },
Note: { screen: NoteScreen },
Flashcard: { screen: FlashCardScreen },
Options: { screen: OptionsScreen },
}, {navigationOptions: navOptions});
AppRegistry.registerComponent('mnotes', () => App);