-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
76 lines (75 loc) · 1.74 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, {Component} from 'react';
import 'react-native-gesture-handler';
import {createAppContainer} from 'react-navigation';
import {createStackNavigator} from 'react-navigation-stack';
import Login from './src/screens/Login';
import Splash from './src/screens/Splash';
import Start from './src/screens/Start';
import Register from './src/screens/Register';
import Chat from './src/screens/Chat';
import MyProfile from './src/screens/MyProfile';
import EditProfile from './src/screens/EditProfile';
import EditPhoto from './src/screens/EditPhoto';
import AddFriends from './src/screens/AddFriends';
import ForgotPassword from './src/screens/ForgetPassword';
import Contacts from './src/screens/Contacts';
import DetailFriend from './src/screens/DetailFriend';
import Messages from './src/screens/Message';
import Maps from './src/screens/Maps';
const AppNavigator = createStackNavigator(
{
Splash: {
screen: Splash,
},
Start: {
screen: Start,
},
Login: {
screen: Login,
},
ForgotPassword: {
screen: ForgotPassword,
},
Register: {
screen: Register,
},
Chat: {
screen: Chat,
},
MyProfile: {
screen: MyProfile,
},
EditProfile: {
screen: EditProfile,
},
EditPhoto: {
screen: EditPhoto,
},
AddFriends: {
screen: AddFriends,
},
Contacts: {
screen: Contacts,
},
DetailFriend: {
screen: DetailFriend,
},
Messages: {
screen: Messages,
},
Maps: {
screen: Maps,
},
},
{
headerMode: 'none',
navigationOptions: {
headerVisible: 'false',
},
},
);
const AppContainer = createAppContainer(AppNavigator);
function Root() {
return <AppContainer />;
}
export default Root;