Skip to content

Commit 3b077ac

Browse files
authored
Update README.md
1 parent e0e6127 commit 3b077ac

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
基于android SmartRefreshLayout https://github.com/scwang90/SmartRefreshLayout 开发的插件,可提供类似ios的弹性刷新,如果你喜欢,请不要吝啬你的 :smile: star :smile:
33

44
ios自动刷新组件见[react-native-MJRefresh](https://github.com/react-native-studio/react-native-MJRefresh)
5+
6+
57
## 第一步
68
工程目录下运行<br> `npm install --save react-native-smartrefreshlayout`<br> 或者<br> `yarn add react-native-smartrefreshlayout`(已经安装了yarn)
79
## 第二步
@@ -82,7 +84,10 @@ import {SmartRefreshControl,ClassicsHeader,StoreHouseHeader,DefaultHeader} from
8284
|lineWidth|number|线宽|
8385
## 示例
8486
<!--![image](https://github.com/2534290808/react-native-android-danmaku/blob/master/images/Screenshot_1513176625.png)-->
85-
<img src="https://github.com/react-native-studio/react-native-smartrefreshlayout/blob/master/images/lottierefresh.gif" width = "300" alt="图片名称" align=center />
86-
<img src="https://github.com/react-native-studio/react-native-smartrefreshlayout/blob/master/images/Screenshot_1520489605.png" width = "300" alt="图片名称" align=center />
87-
<img src="https://github.com/react-native-studio/react-native-smartrefreshlayout/blob/master/images/Screenshot_1520489593.png" width = "300" alt="图片名称" align=center />
87+
<div align=center>
88+
<img src="https://github.com/react-native-studio/react-native-smartrefreshlayout/blob/master/images/lottierefresh.gif" width = "280" alt="图片名称" align=center />
89+
<img src="https://github.com/react-native-studio/react-native-smartrefreshlayout/blob/master/images/Screenshot_1520489605.png" width = "280" alt="图片名称" align=center />
90+
<img src="https://github.com/react-native-studio/react-native-smartrefreshlayout/blob/master/images/Screenshot_1520489593.png" width = "280" alt="图片名称" align=center />
91+
</div>
92+
8893

0 commit comments

Comments
 (0)