diff --git a/en/react-native-dropdownalert.md b/en/react-native-dropdownalert.md index a2357e23566649b296cdab01f35149e2065fbe99..f6fb2d2cf71c6ec3a8ecd8e05473d36244af9a7e 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 461c67077f4a5e8a2695f1a47ae8ca0f19e15131..5e187c231acc5100b3a188587911a5ea1b87930c 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 ```