-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
59 lines (55 loc) · 1.19 KB
/
Copy pathApp.js
File metadata and controls
59 lines (55 loc) · 1.19 KB
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
import React from 'react';
import { Home } from './app/views/Home.js';
import { Contact } from './app/views/Contact';
import { StackNavigator } from 'react-navigation';
import { Video } from './app/views/Video.js';
import { VideoDetail } from './app/views/VideoDetail';
import { Register } from './app/views/Register.js';
import { Login } from './app/views/Login';
import { About } from './app/views/About';
import { Blog } from './app/views/Blog';
import * as Svg from 'react-native-svg';
import { Quiz } from './app/views/Quiz.js';
import { Finish } from './app/views/QuizFinish.js';
const MyRoutes = StackNavigator(
{
HomeRT: {
screen: Home,
},
ContactRT: {
screen: Contact,
},
LessonsRT: {
screen: Video,
},
VideoDetailRT: {
screen: VideoDetail,
},
RegisterRT: {
screen: Register,
},
LoginRT: {
screen: Login,
},
QuizRT: {
screen: Quiz,
},
FinishRT: {
screen: Finish,
},
BlogRT: {
screen: Blog,
},
AboutRT: {
screen: About,
},
},
{
initialRouteName: 'HomeRT',
}
);
export default class App extends React.Component {
render() {
return <MyRoutes />;
}
}