forked from TunikiCharitha/ARCdetection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
42 lines (40 loc) · 1.08 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
import React from 'react';
import { View, Text,Alert } from 'react-native';
import Mappers from './src/components/Mappers';
import Swipe from './src/components/Swipe';
import Navigate from './src/components/Navigate';
import Connect from './src/components/Connect';
import ConnectToDevice from './src/components/ConnectToDevice';
import { Router, Scene } from 'react-native-router-flux';
import Trial from './src/components/Trial';
class App extends React.Component {
render() {
return (
<Router>
<Scene key="root">
<Scene key="Mappers"
component={Mappers}
//initial
hideNavBar={true}
/>
<Scene key="Swipe"
component={Swipe}
initial
hideNavBar={true}
/>
<Scene key="Connect"
component={Connect}
//initial
hideNavBar={true}
/>
<Scene key="Trial"
component={Trial}
//initial
hideNavBar={true}
/>
</Scene>
</Router>
);
}
}
export default App;