文档模板:v0.4.2

react-native-smartrefreshlayout

本项目基于 react-native-smartrefreshlayout 开发。

该第三方库的仓库已迁移至 Gitcode,且支持直接从 npm 下载,新的包名为:@react-native-ohos/react-native-smartrefreshlayout 版本所属关系如下:

三方库名称 三方库版本(npm地址) 发布信息 支持RN版本 Autolink 编译API版本 社区基线版本 源码地址
@react-native-ohos/react-native-smartrefreshlayout ~ 0.8.0 Gitcode Releases 0.82.* 是 API12+ 0.6.7 master
@react-native-ohos/react-native-smartrefreshlayout ~ 0.7.0 Gitcode Releases 0.77.* 否 API12+ 0.6.7 br_rnoh0.77
@react-native-ohos/react-native-smartrefreshlayout ~ 0.6.8 Gitcode Releases 0.72.* 是 API12+ 0.6.7 br_rnoh0.72
@react-native-oh-tpl/react-native-smartrefreshlayout <= 0.6.7-0.2.18@deprecated Github Releases(deprecated) 0.72.* 否 API12+ 0.6.7 sig

简介

SmartRefreshLayout 是一个智能的下拉刷新组件库,以"智能"、"强大"、"稳定"为核心设计目标。 提供下拉刷新能力,支持 AnyHeader、DefaultHeader、ClassicsHeader、StoreHouseHeader 等多种刷新头,并支持自定义刷新头。

下载安装

进入到工程目录并输入以下命令:

npm

npm install @react-native-ohos/react-native-smartrefreshlayout

yarn

yarn add @react-native-ohos/react-native-smartrefreshlayout