diff --git a/en/react-native-neomorph-shadows.md b/en/react-native-neomorph-shadows.md index dd6cb52ef9d7132a5a3bdfd859f55abd082d9e67..c782d8d74d68d4d874d10f4c221940ab6a594b81 100644 --- a/en/react-native-neomorph-shadows.md +++ b/en/react-native-neomorph-shadows.md @@ -17,7 +17,11 @@ ## Installation and Usage -Find the matching version information in the release address of a third-party library:[@react-native-oh-tpl/react-native-neomorph-shadows Releases](https://github.com/react-native-oh-library/react-native-neomorph-shadows/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.1.2 | [@react-native-oh-tpl/react-native-neomorph-shadows Releases](https://github.com/react-native-oh-library/react-native-neomorph-shadows) | 0.72 | +| 1.2.0 | [@react-native-ohos/react-native-neomorph-shadows Releases](https://gitcode.com/openharmony-sig/react-native-neomorph-shadows/tree/br_rnoh0.77) | 0.77 | Go to the project directory and execute the following instruction: @@ -27,12 +31,14 @@ Go to the project directory and execute the following instruction: #### **npm** ```bash +#v1.1.2 npm install @react-native-oh-tpl/react-native-neomorph-shadows ``` #### **yarn** ```bash +#v1.2.0 yarn add @react-native-oh-tpl/react-native-neomorph-shadows ``` @@ -115,7 +121,10 @@ If it is not included, follow the guide provided in @react-native-oh-tpl/react-n 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-neomorph-shadows Releases](https://github.com/react-native-oh-library/react-native-neomorph-shadows/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-neomorph-shadows.md b/zh-cn/react-native-neomorph-shadows.md index 3ccaa4156976b143397a90c11272246a783c59b6..ff4b99f38f755c54ae8fc18012d132064b120847 100644 --- a/zh-cn/react-native-neomorph-shadows.md +++ b/zh-cn/react-native-neomorph-shadows.md @@ -17,7 +17,14 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-neomorph-shadows Releases](https://github.com/react-native-oh-library/react-native-neomorph-shadows/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 +请到三方库的 Releases 发布地址查看配套的版本信息: + +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 1.1.2 | [@react-native-oh-tpl/react-native-neomorph-shadows Releases](https://github.com/react-native-oh-library/react-native-neomorph-shadows/releases) | 0.72 | +| 1.2.0 | [@react-native-ohos/react-native-neomorph-shadows Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-neomorph-shadows) | 0.77 | + +对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: @@ -26,13 +33,21 @@ #### **npm** ```bash +# V1.1.2 npm install @react-native-oh-tpl/react-native-neomorph-shadows + +# V1.2.0 +npm install @react-native-ohos/react-native-neomorph-shadows ``` #### **yarn** ```bash +# V1.1.2 yarn add @react-native-oh-tpl/react-native-neomorph-shadows + +# V1.2.0 +yarn add @react-native-ohos/react-native-neomorph-shadows ``` @@ -114,7 +129,12 @@ const styles = StyleSheet.create({ 要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。 -请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-oh-tpl/react-native-neomorph-shadows Releases](https://github.com/react-native-oh-library/react-native-neomorph-shadows/releases) +请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息: + +本文档内容基于以下版本验证通过: + +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; ## 属性