From c8fb43d15b8f431f8ebec2b25aeb9c0ea5707f17 Mon Sep 17 00:00:00 2001 From: panyinan Date: Thu, 5 Dec 2024 17:50:25 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[#IB9DGG]=20=E4=BF=AE=E6=94=B9react-nat?= =?UTF-8?q?ive-dropdownalert=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-dropdownalert.md | 8 +++----- zh-cn/react-native-dropdownalert.md | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/en/react-native-dropdownalert.md b/en/react-native-dropdownalert.md index a2357e23..f6fb2d2c 100644 --- a/en/react-native-dropdownalert.md +++ b/en/react-native-dropdownalert.md @@ -16,24 +16,22 @@ ## Installation and Usage -Find the matching version information in the release address of a third-party library and download an applicable .tgz package: [@react-native-oh-tpl/react-native-dropdownalert Releases](https://github.com/react-native-oh-library/react-native-dropdownalert/releases). +Find the matching version information in the release address of a third-party library: [@react-native-oh-tpl/react-native-dropdownalert Releases](https://github.com/react-native-oh-library/react-native-dropdownalert/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. 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** ```bash -npm install @react-native-oh-tpl/react-native-dropdownalert@file:# +npm install @react-native-oh-tpl/react-native-dropdownalert ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-dropdownalert@file:# +yarn add @react-native-oh-tpl/react-native-dropdownalert ``` diff --git a/zh-cn/react-native-dropdownalert.md b/zh-cn/react-native-dropdownalert.md index 461c6707..5e187c23 100644 --- a/zh-cn/react-native-dropdownalert.md +++ b/zh-cn/react-native-dropdownalert.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-dropdownalert Releases](https://github.com/react-native-oh-library/react-native-dropdownalert/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-dropdownalert Releases](https://github.com/react-native-oh-library/react-native-dropdownalert/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-dropdownalert@file:# +npm install @react-native-oh-tpl/react-native-dropdownalert ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-dropdownalert@file:# +yarn add @react-native-oh-tpl/react-native-dropdownalert ``` -- Gitee