diff --git a/zh-cn/react-native-marquee.md b/zh-cn/react-native-marquee.md index ed1b23fd31696728eeb6f2cee907226b84da914d..197bc0c1583c19eb5d7189ff9eff8ce746f55fb0 100644 --- a/zh-cn/react-native-marquee.md +++ b/zh-cn/react-native-marquee.md @@ -6,12 +6,12 @@ 本项目基于 [react-native-marquee@0.5.0](https://github.com/kyo504/react-native-marquee/tree/v0.5.0) 开发。 -该第三方库的仓库已迁移至 Gitcode,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/react-native-marquee`,具体版本所属关系如下: +请到三方库的 Releases 发布地址查看配套的版本信息: -| Version | Package Name | Repository | Release | -| ------------------------- | ------------------------------------------------- | ------------------ | -------------------------- | -| <= 0.5.0-0.0.1@deprecated | @react-native-oh-tpl/react-native-marquee | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-marquee) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-marquee/releases) | -| > 0.5.1 | @react-native-ohos/react-native-marquee | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-marquee) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-marquee/releases) | +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 0.5.0 | [@react-native-oh-tpl/react-native-marquee Releases](https://github.com/react-native-oh-library/react-native-marquee/releases) | 0.72 | +| 0.5.1 | [@react-native-ohos/react-native-marquee Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-marquee/releases) | 0.77 | ## 1. 安装与使用 @@ -22,12 +22,20 @@ #### **npm** ```bash +# V0.5.0 +npm install @react-native-oh-tpl/react-native-marquee + +# V0.5.1 npm install @react-native-ohos/react-native-marquee ``` #### **yarn** ```bash +# V0.5.0 +yarn add @react-native-oh-tpl/react-native-marquee + +# V0.5.1 yarn add @react-native-ohos/react-native-marquee ``` @@ -73,7 +81,12 @@ const styles = StyleSheet.create({ ### 2.1 兼容性 -请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/react-native-marquee Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-marquee/releases) +请到三方库的 Releases 发布地址查看配套的版本信息: + +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 0.5.0 | [@react-native-oh-tpl/react-native-marquee Releases](https://github.com/react-native-oh-library/react-native-marquee/releases) | 0.72 | +| 0.5.1 | [@react-native-ohos/react-native-marquee Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-marquee/releases) | 0.77 | ## 3. 属性 diff --git a/zh-cn/react-native-stickyheader.md b/zh-cn/react-native-stickyheader.md index dc56fa908b84732cf53a8fcca8196d8800849b06..f7555590f943319bdee7ab5f4661f2468f146b7a 100644 --- a/zh-cn/react-native-stickyheader.md +++ b/zh-cn/react-native-stickyheader.md @@ -18,7 +18,10 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-stickyheader Releases](https://github.com/react-native-oh-library/react-native-stickyheader/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 1.1.3 | [@react-native-oh-tpl/react-native-stickyheader Releases](https://github.com/react-native-oh-library/react-native-stickyheader/releases) | 0.72 | +| 1.1.4 | [@react-native-ohos/react-native-stickyheader Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-stickyheader/releases) | 0.77 | 进入到工程目录并输入以下命令: @@ -27,13 +30,21 @@ #### **npm** ```bash +# V1.1.3 npm install @react-native-oh-tpl/react-native-stickyheader + +# V1.1.4 +npm install @react-native-ohos/react-native-stickyheader ``` #### **yarn** ```bash +# V1.1.3 yarn add @react-native-oh-tpl/react-native-stickyheader + +# V1.1.4 +yarn add @react-native-ohos/react-native-stickyheader ``` diff --git a/zh-cn/react-native-swipe-list-view.md b/zh-cn/react-native-swipe-list-view.md index a65331a0d1691b07bcfb26fc67caf4503182caa1..23434182db4b6af4842a9d3bccd800e83de72dbe 100644 --- a/zh-cn/react-native-swipe-list-view.md +++ b/zh-cn/react-native-swipe-list-view.md @@ -18,7 +18,11 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-swipe-list-view Releases](https://github.com/react-native-oh-library/react-native-swipe-list-view/releases/) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 +请到三方库的 Releases 发布地址查看配套的版本信息: +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 3.2.9 | [@react-native-oh-tpl/react-native-swipe-list-view Releases](https://github.com/react-native-oh-library/react-native-swipe-list-view/releases) | 0.72 | +| 3.2.10 | [@react-native-ohos/react-native-swipe-list-view Releases]() | 0.77 | 进入到工程目录并输入以下命令: @@ -27,13 +31,21 @@ #### **npm** ```bash -npm install --save @react-native-oh-tpl/react-native-swipe-list-view +# V3.2.9 +npm install @react-native-oh-tpl/react-native-swipe-list-view + +# V3.2.10 +npm install @react-native-ohos/react-native-swipe-list-view ``` #### **yarn** ```bash +# V3.2.9 yarn add @react-native-oh-tpl/react-native-swipe-list-view + +# V3.2.10 +yarn add @react-native-ohos/react-native-swipe-list-view ``` @@ -209,9 +221,11 @@ const styles = StyleSheet.create({ ### 兼容性 -要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。 - -请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-oh-tpl/react-native-swipe-list-view Releases](https://github.com/react-native-oh-library/react-native-swipe-list-view/releases/) +请到三方库的 Releases 发布地址查看配套的版本信息: +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 3.2.9 | [@react-native-oh-tpl/react-native-swipe-list-view Releases](https://github.com/react-native-oh-library/react-native-swipe-list-view/releases) | 0.72 | +| 3.2.10 | [@react-native-ohos/react-native-swipe-list-view Releases]() | 0.77 | ## 属性