forked from enescang/twas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
54 lines (47 loc) · 1.23 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
import React from 'react';
import {Platform, View} from 'react-native';
import { createStackNavigator, createAppContainer } from 'react-navigation';
import firebase from 'react-native-firebase';
import Loading from './src/screens/Loading'
import SignUp from './src/screens/SignUp'
import Login from './src/screens/Login'
import Main from './src/screens/Main'
import Addnote from './src/screens/Addnote'
import Show from './src/components/Show'
import ItemComponent from './src/components/ItemComponent'
import Forgotpassword from './src/screens/Forgotpassword'
import Profile from './src/components/Profile';
import Menu from'./src/menu/Menu';
import Trash from './src/screens/Trash'
import About from './src/screens/About'
import Arsiv from './src/screens/Arsiv'
import Ayarlar from './src/screens/Ayarlar'
const AppNavigator = createStackNavigator ({
Loading,
SignUp,
Login,
Main,
Addnote,
Show,
ItemComponent,
Forgotpassword,
Menu,
Trash,
About,
Arsiv,
Ayarlar,
Profile,
},
{
initialRouteName: 'Loading',
headerLayoutPreset: 'center'
},
);
const AppContainer = createAppContainer(AppNavigator);
export default class App extends React.Component {
render() {
return (
<AppContainer/>
);
}
}