diff --git a/en/react-native-gifted-charts.md b/en/react-native-gifted-charts.md index e00d0f8ce248aec7331b376241b4c069ec8d3df2..6fcd3837af7b283927ddf77bdaa3aaea83a26c7e 100644 --- a/en/react-native-gifted-charts.md +++ b/en/react-native-gifted-charts.md @@ -18,24 +18,35 @@ ## Installation and Usage -Find the matching version information in the release address of a third-party library: [@react-native-oh-tpl/react-native-gifted-charts Releases](https://github.com/react-native-oh-library/react-native-gifted-charts/releases).For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package. +Please refer to the Releases page of the third-party library for the corresponding version information +| Third-party Library Version | Release Information | Supported RN Version | +| ---------- | ------------------------------------------------------------ | ---------- | +| 1.4.16 | [@react-native-oh-tpl/react-native-gifted-charts Releases](https://github.com/react-native-oh-library/react-native-gifted-charts/releases) | 0.72 | +| 1.5.0 | [@react-native-ohos/react-native-gifted-charts Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-gifted-charts/releases) | 0.77 Go to the project directory and execute the following instruction: - #### **npm** ```bash +# 0.72 npm install @react-native-oh-tpl/react-native-gifted-charts + +# 0.77 +npm install @react-native-ohos/react-native-gifted-charts ``` #### **yarn** ```bash +# 0.72 yarn add @react-native-oh-tpl/react-native-gifted-charts + +# 0.77 +yarn add @react-native-ohos/react-native-gifted-charts ``` @@ -86,7 +97,10 @@ If it is not included, follow the guide provided in [@react-native-oh-tpl/react- To use this repository, you need to use the correct React-Native and RNOH versions. In addition, you need to use DevEco Studio and the ROM on your phone. -Check the release version information in the release address of the third-party library: [@react-native-oh-tpl/react-native-gifted-charts Releases](https://github.com/react-native-oh-library/react-native-gifted-charts/releases) +This document is verified based on the following versions: + +1. RNOH:0.72.33; SDK:OpenHarmony 5.0.0.71(API Version 12 Release); IDE:DevEco Studio 5.0.3.900; ROM:NEXT.0.0.71; +2. RNOH:0.77.18; SDK:HarmonyOS 5.1.1 Release; IDE: DevEco Studio 5.1.1.830; ROM:NEXT 5.1.0.150; ## Properties diff --git a/zh-cn/react-native-gifted-charts.md b/zh-cn/react-native-gifted-charts.md index 1d183785302d3a8dd8765fac8c274b94e473e970..233438438b0142ca602681335d29660eff07a566 100644 --- a/zh-cn/react-native-gifted-charts.md +++ b/zh-cn/react-native-gifted-charts.md @@ -23,7 +23,7 @@ | 三方库版本 | 发布信息 | 支持RN版本 | | ---------- | ------------------------------------------------------------ | ---------- | | 1.4.16 | [@react-native-oh-tpl/react-native-gifted-charts Releases](https://github.com/react-native-oh-library/react-native-gifted-charts/releases) | 0.72 | -| 1.4.62 | [@react-native-ohos/react-native-gifted-charts Releases]() | 0.77 | +| 1.5.0 | [@react-native-ohos/react-native-gifted-charts Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-gifted-charts/releases) | 0.77 | 对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 @@ -34,20 +34,20 @@ #### **npm** ```bash -# V1.4.16 +# 0.72 npm install @react-native-oh-tpl/react-native-gifted-charts -# V1.4.62 +# 0.77 npm install @react-native-ohos/react-native-gifted-charts ``` #### **yarn** ```bash -# V1.4.16 +# 0.72 yarn add @react-native-oh-tpl/react-native-gifted-charts -# V1.4.62 +# 0.77 yarn add @react-native-ohos/react-native-gifted-charts ``` @@ -101,10 +101,10 @@ export default function () { 请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息: -| 三方库版本 | 发布信息 | 支持RN版本 | -| ---------- | ------------------------------------------------------------ | ---------- | -| 1.4.16 | [@react-native-oh-tpl/react-native-gifted-charts Releases](https://github.com/react-native-oh-library/react-native-gifted-charts/releases) | 0.72 | -| 1.4.62 | [@react-native-ohos/react-native-gifted-charts Releases]() | 0.77 | +本文档内容基于以下版本验证通过: + +1. RNOH: 0.72.33; SDK: OpenHarmony 5.0.0.71(API Version 12 Release); IDE: DevEco Studio 5.0.3.900; ROM: NEXT.0.0.71; +2. RNOH: 0.77.18; SDK: HarmonyOS 5.1.1 Release; IDE: DevEco Studio 5.1.1.830; ROM: NEXT 5.1.0.150; ## 属性