File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 9
9
View ,
10
10
TabHeading
11
11
} from 'native-base' ;
12
- import { StyleSheet , Image } from 'react-native' ;
12
+ import { StyleSheet , Image , PanResponder } from 'react-native' ;
13
13
import Icon from 'react-native-vector-icons/MaterialIcons' ;
14
14
import { WebView } from 'react-native-webview'
15
15
@@ -20,13 +20,14 @@ const styles = StyleSheet.create({
20
20
} ) ;
21
21
22
22
export default class Home extends Component {
23
+
23
24
render ( ) {
24
25
return (
25
26
< Container >
26
27
< Header hasTabs />
27
28
< Tabs renderTabBar = { ( ) => < ScrollableTab
28
29
style = { { backgroundColor : "white" , height : 150 } }
29
- onScroll = { ( param ) => console . table ( "Here" ) }
30
+ onScroll = { ( param ) => console . log ( param . nativeEvent ) }
30
31
/> } >
31
32
< Tab heading = {
32
33
< TabHeading style = { { backgroundColor : "white" , margin : 12 } } >
@@ -35,12 +36,12 @@ export default class Home extends Component {
35
36
alignItems : 'center' ,
36
37
width : 340
37
38
} }
39
+
38
40
>
39
41
< Image source = { require ( "../assets/img/cocina.png" ) } style = { { width : 50 , height :80 } } />
40
42
< Text > Limpieza/ Servicio doméstico</ Text >
41
43
</ View >
42
44
</ TabHeading > }
43
- onPress = { ( ) => console . log ( "Here" ) }
44
45
>
45
46
</ Tab >
46
47
< Tab heading = {
You can’t perform that action at this time.
0 commit comments