We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f161c4 commit 445d056Copy full SHA for 445d056
README.md
@@ -8,11 +8,14 @@ android自动刷新组件见[react-native-SmartRefreshLayout](https://github.com
8
`yarn add react-native-mjrefresh-lower`(rn<=0.54)
9
(已经安装了yarn)
10
## 第二步
11
-运行 `react-native link react-native-mjrefresh`
+运行 `react-native link react-native-mjrefresh`(rn>=0.55)<br/>
12
+`react-native link react-native-mjrefresh-lower`(rn<=0.54)
13
## 第三部使用
14
在工程中导入:
15
```js
-import MJRefresh,{ScrollView} from 'react-native-mjrefresh'
16
+import MJRefresh,{ScrollView} from 'react-native-mjrefresh'//rn>=0.55
17
+//import MJRefresh,{ScrollView} from 'react-native-mjrefresh-lower'//rn<=0.54
18
+
19
//该ScrollView兼容官方所有的属性和方法,refreshControl也可以使用官方的RefreshControl
20
state={
21
text:'下拉刷新'
0 commit comments