-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
34 lines (30 loc) · 883 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
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import {
StackNavigator,
} from 'react-navigation';
import Home from './screens/Home'
import About from './screens/About'
import Contact from './screens/Contact'
import Hospitals from './screens/Hospitals'
import Departments from './screens/Departments'
import SelectedDate from './screens/SelectedDate'
import Results from './screens/Results'
import Profile from './screens/Profile'
const AppNavigations = StackNavigator({
Home: {screen: Home},
About: {screen: About},
Contact: {screen: Contact},
Hospitals: {screen: Hospitals},
Departments: {screen: Departments},
SelectedDate: {screen: SelectedDate},
Results: {screen: Results},
Profile: {screen: Profile},
});
export default class App extends React.Component {
render() {
return (
<AppNavigations />
);
}
}