Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 73c4ac2

Browse files
Update to version 0.4.0
1 parent b35a6b7 commit 73c4ac2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

‎Example49/FlatListExample.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export default class FlatListExample extends Component {
2020
return (
2121
<View style={{flex: 1}}>
2222
<FlatList
23+
//legacyImplementation 如果需要使用此属性,应从mjrefresh插件中引入Flatlist
2324
keyExtractor={(item)=>item}
2425
data={this.state.data}
2526
renderItem={({item,index}) => <Text key={index} onPress={()=>alert(111)} style={{height:100}}>{item}</Text>}

‎Example49/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"react": "16.0.0-beta.5",
1212
"react-native": "0.49.0",
1313
"react-native-indicators": "^0.13.0",
14-
"react-native-mjrefresh-lower": "^0.3.2",
14+
"react-native-mjrefresh-lower": "^0.4.0",
1515
"react-native-vector-icons": "^5.0.0"
1616
},
1717
"devDependencies": {

‎Example49/yarn.lock‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3845,9 +3845,9 @@ react-native-indicators@^0.13.0:
38453845
dependencies:
38463846
prop-types "^15.5.10"
38473847

3848-
react-native-mjrefresh-lower@^0.3.2:
3849-
version "0.3.2"
3850-
resolved "https://registry.npmjs.org/react-native-mjrefresh-lower/-/react-native-mjrefresh-lower-0.3.2.tgz#a9f070bdf0d7a498cb0221be0cb05d191defc587"
3848+
react-native-mjrefresh-lower@^0.4.0:
3849+
version "0.4.0"
3850+
resolved "https://registry.npmjs.org/react-native-mjrefresh-lower/-/react-native-mjrefresh-lower-0.4.0.tgz#ad89a60e462c38a524c97f28c7f9af9cc2c24866"
38513851
dependencies:
38523852
prop-types "*"
38533853

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /