File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,7 @@ import {
1313 StyleSheet ,
1414 Text ,
1515 View ,
16- ScrollView ,
17- Button
16+ Button ,
1817} from 'react-native' ;
1918import HuaWeiRefreshControl from './HuaWeiRefreshControl'
2019const instructions = Platform . select ( {
@@ -23,13 +22,14 @@ const instructions = Platform.select({
2322 android : 'Double tap R on your keyboard to reload,\n' +
2423 'Shake or press menu button for dev menu' ,
2524} ) ;
26-
25+ import { ScrollView } from 'react-native-mjrefresh'
2726type Props = { } ;
2827export default class App extends Component < Props > {
2928 render ( ) {
3029 return (
3130 < View style = { { flex :1 } } >
3231 < ScrollView
32+ //contentContainerStyle={{paddingVertical:50}}
3333 style = { { flex :1 } }
3434 scrollEventThrottle = { 16 }
3535 onScroll = { e => console . log ( e . nativeEvent ) }
Original file line number Diff line number Diff line change 1010 "react" : " 16.3.1" ,
1111 "react-native" : " 0.55.4" ,
1212 "react-native-indicators" : " ^0.13.0" ,
13- "react-native-mjrefresh" : " ^0.4 .0" ,
13+ "react-native-mjrefresh" : " ^0.5 .0" ,
1414 "react-native-vector-icons" : " ^4.6.0"
1515 },
1616 "devDependencies" : {
Original file line number Diff line number Diff line change @@ -4170,9 +4170,9 @@ react-native-indicators@^0.13.0:
41704170 dependencies :
41714171 prop-types "^15.5.10"
41724172
4173- react-native-mjrefresh@^0.4 .0 :
4174- version "0.4 .0"
4175- resolved "https://registry.npmjs.org/react-native-mjrefresh/-/react-native-mjrefresh-0.4 .0.tgz#181cbe0a8f6889d0e3aa77082dc19d16d3eff8c6 "
4173+ react-native-mjrefresh@^0.5 .0 :
4174+ version "0.5 .0"
4175+ resolved "https://registry.npmjs.org/react-native-mjrefresh/-/react-native-mjrefresh-0.5 .0.tgz#ca7aa26a73eb44118a63394d4f4bb4dda32e1b68 "
41764176
41774177react-native-vector-icons@^4.6.0 :
41784178 version "4.6.0"
You can’t perform that action at this time.
0 commit comments