-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
42 lines (38 loc) · 966 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
35
36
37
38
39
40
41
42
import React, { Component } from "react";
import {
StyleSheet,
} from 'react-native';
import Home from './screens/HomeScreen';
import BAS from './screens/BiosignalAcquisitionSystem';
import MOSmodel from './screens/MOSmodel';
import NMOS from './screens/Nmos';
import PMOS from './screens/Pmos';
import ComparatorECG from './screens/ComparatorECG';
import Comparator from './screens/Comparator';
import ECG from './screens/ECG';
import ECGplot from './screens/ECGplot';
import {createSwitchNavigator} from 'react-navigation';
const MySwitchNavigator = createSwitchNavigator({
Home: Home,
BAS: BAS,
MOSmodel: MOSmodel,
NMOS: NMOS,
PMOS: PMOS,
ComparatorECG: ComparatorECG,
Comparator: Comparator,
ECG: ECG,
ECGplot: ECGplot
},
{
initialRouteName: 'Home'
}
);
export default class App extends Component {
render(){
return(
<MySwitchNavigator />
)
}
}
const styles = StyleSheet.create({
});