From 7b7b216cb5d8bc716fcbdddd56460e5c2a122ce1 Mon Sep 17 00:00:00 2001 From: Louis-C7 Date: Thu, 7 Nov 2024 15:42:15 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E5=A4=8Dreact-native-linear-g?= =?UTF-8?q?radient=E6=8C=87=E5=AF=BC=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/react-native-linear-gradient.md | 6 ++---- zh-cn/react-native-linear-gradient.md | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/en/react-native-linear-gradient.md b/en/react-native-linear-gradient.md index 1c7301c3..e0f735b3 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 325478f7..a925410b 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` 进入到工程目录并输入以下命令: -- Gitee