-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pulse.js
56 lines (45 loc) · 1.07 KB
/
Pulse.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
import React, {Component} from 'react';
import {
View,
Text,
StyleSheet
} from 'react-native';
// import {Scene, Router} from 'react-native-router-flux'
import MainWindow from './App/Views/MainWindow'
// import CityList from './App/Views/CityList'
export default class Pulse extends Component {
render() {
return (
<MainWindow />
)
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF',
}
});
/* use this when adding more cities is going to be added */
// export default class Pulse extends Component {
// render() {
// return (
// <Router>
// <Scene key="root">
// <Scene key="main" component={MainWindow} title="Main" initial={true} />
// <Scene key="cityList" component={CityList} title="City List" />
// </Scene>
// </Router>
// )
// }
// }
// const styles = StyleSheet.create({
// container: {
// flex: 1,
// justifyContent: 'center',
// alignItems: 'center',
// backgroundColor: '#F5FCFF',
// }
// });