Skip to content

Commit 603ceb3

Browse files
committed
Modified
1 parent e688734 commit 603ceb3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/components/Home.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
View,
1010
TabHeading
1111
} from 'native-base';
12-
import {StyleSheet, Image} from 'react-native';
12+
import {StyleSheet, Image, PanResponder} from 'react-native';
1313
import Icon from 'react-native-vector-icons/MaterialIcons';
1414
import { WebView } from 'react-native-webview'
1515

@@ -20,13 +20,14 @@ const styles = StyleSheet.create({
2020
});
2121

2222
export default class Home extends Component {
23+
2324
render() {
2425
return (
2526
<Container>
2627
<Header hasTabs/>
2728
<Tabs renderTabBar={()=> <ScrollableTab
2829
style={{ backgroundColor: "white", height : 150}}
29-
onScroll={(param)=> console.table("Here")}
30+
onScroll={(param)=> console.log(param.nativeEvent)}
3031
/>}>
3132
<Tab heading={
3233
<TabHeading style={{ backgroundColor: "white", margin: 12 }}>
@@ -35,12 +36,12 @@ export default class Home extends Component {
3536
alignItems: 'center',
3637
width : 340
3738
}}
39+
3840
>
3941
<Image source={require("../assets/img/cocina.png")} style={{width : 50, height:80}}/>
4042
<Text>Limpieza/ Servicio doméstico</Text>
4143
</View>
4244
</TabHeading>}
43-
onPress={() => console.log("Here")}
4445
>
4546
</Tab>
4647
<Tab heading={

0 commit comments

Comments
 (0)