-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
30 lines (27 loc) · 715 Bytes
/
Copy pathApp.js
File metadata and controls
30 lines (27 loc) · 715 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
28
29
30
import React, { Component } from 'react';
import {StyleSheet, View} from 'react-native';
import {Header} from 'react-native-elements';
import Icon from 'react-native-vector-icons/dist/MaterialIcons';
import {StackNavigator} from 'react-navigation';
import TaskList from './components/TaskList';
import TaskDetails from './components/TaskDetails';
//Bulk of the navigation is handled here
const AppNavigation = StackNavigator({
TaskList: { screen: TaskList },
TaskDetails: { screen: TaskDetails },
},
{
headerMode: 'none',
navigationOptions: {
headerVisible: false,
}
}
);
type Props = {};
export default class App extends Component<Props> {
render() {
return(
<AppNavigation/>
);
}
}