|
@@ -0,0 +1,33 @@
|
|
1
|
+import React, {Component, PropTypes} from 'react';
|
|
2
|
+import {
|
|
3
|
+ Text,
|
|
4
|
+ View,
|
|
5
|
+ ScrollView,
|
|
6
|
+ TouchableOpacity,
|
|
7
|
+ StyleSheet,
|
|
8
|
+ Alert
|
|
9
|
+} from 'react-native';
|
|
10
|
+import {connect} from 'react-redux';
|
|
11
|
+import * as counterActions from '../reducers/counter/actions';
|
|
12
|
+import _ from 'lodash';
|
|
13
|
+
|
|
14
|
+class FirstSideMenu extends Component {
|
|
15
|
+
|
|
16
|
+ constructor(props) {
|
|
17
|
+ super(props);
|
|
18
|
+ // if you want to listen on navigator events, set this up
|
|
19
|
+ this.props.navigator.setOnNavigatorEvent(this.onNavigatorEvent.bind(this));
|
|
20
|
+ }
|
|
21
|
+
|
|
22
|
+ onNavigatorEvent(event) {
|
|
23
|
+ console.log('Unhandled event ' + event.id);
|
|
24
|
+ }
|
|
25
|
+
|
|
26
|
+ render() {
|
|
27
|
+ return (
|
|
28
|
+ <View style={{flex: 1, padding: 20}}>
|
|
29
|
+ <Text style={styles.text}>Hello from SideMenu</Text>
|
|
30
|
+ </View>
|
|
31
|
+ );
|
|
32
|
+ }
|
|
33
|
+}
|