Skip to content

Commit 5f161c4

Browse files
authored
Update README.md
1 parent d4e8f05 commit 5f161c4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
如果你喜欢,请不要吝啬你的:smile: star :smile:
33
android自动刷新组件见[react-native-SmartRefreshLayout](https://github.com/react-native-studio/react-native-SmartRefreshLayout)
44
## 第一步
5-
工程目录下运行<br> `npm install --save react-native-mjrefresh`<br> 或者<br> `yarn add react-native-mjrefresh`(已经安装了yarn)
5+
工程目录下运行<br> `npm install --save react-native-mjrefresh`(rn>=0.55.0)<br>
6+
`npm install --save react-native-mjrefresh-lower`(rn<=0.54)
7+
或者<br> `yarn add react-native-mjrefresh`(rn>=0.55)<br/>
8+
`yarn add react-native-mjrefresh-lower`(rn<=0.54)
9+
(已经安装了yarn)
610
## 第二步
711
运行 `react-native link react-native-mjrefresh`
812
## 第三部使用

0 commit comments

Comments
 (0)