diff --git a/en/react-native-linear-gradient.md b/en/react-native-linear-gradient.md index 1c7301c38508f8165749694d0d34aafd5cf43a3f..e0f735b32cdf54ad28c73aa48d417fcd08d8054f 100644 --- a/en/react-native-linear-gradient.md +++ b/en/react-native-linear-gradient.md @@ -18,16 +18,14 @@ > [Github Repository(deprecated)](https://github.com/react-native-oh-library/react-native-linear-gradient) -> [Github Releases(<= 3.0.0-0.5.0): @react-native-ohos/react-native-linear-gradient](https://github.com/react-native-oh-library/react-native-linear-gradient/releases) +> [Github Releases(<= 3.0.0-0.5.0): @react-native-oh-tpl/react-native-linear-gradient](https://github.com/react-native-oh-library/react-native-linear-gradient/releases) ## Installation and Usage -`This third-party library has been migrated to Gitee and is now available for direct download from npm.` +`This third-party library has been migrated to Gitee and is now available for direct download from npm, the new package name is: @react-native-ohos/react-native-linear-gradient` Go to the project directory and execute the following instruction: -> [!TIP] # Replace the content with the path of the .tgz package at the comment sign (#). - #### **npm** diff --git a/zh-cn/react-native-linear-gradient.md b/zh-cn/react-native-linear-gradient.md index 325478f7e84987d1999d13c3a4f86f3f99c2a4dc..a925410bf6ce93c06832ff8a8ee6a94b207f6d74 100644 --- a/zh-cn/react-native-linear-gradient.md +++ b/zh-cn/react-native-linear-gradient.md @@ -18,11 +18,11 @@ > [Github 仓库(已废弃)](https://github.com/react-native-oh-library/react-native-linear-gradient) -> [Github Releases(<= 3.0.0-0.5.0): @react-native-ohos/react-native-linear-gradient](https://github.com/react-native-oh-library/react-native-linear-gradient/releases) +> [Github Releases(<= 3.0.0-0.5.0): @react-native-oh-tpl/react-native-linear-gradient](https://github.com/react-native-oh-library/react-native-linear-gradient/releases) ## 安装与使用 -`该第三方库已迁移至 Gitee,且支持直接从 npm 下载。` +`该第三方库已迁移至 Gitee,且支持直接从 npm 下载,新的包名为:@react-native-ohos/react-native-linear-gradient` 进入到工程目录并输入以下命令: