From 2ea55180230e2656b8390e7c032cd96f0980e7db Mon Sep 17 00:00:00 2001 From: liangzhenhua Date: Mon, 24 Nov 2025 18:30:21 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=94=B90.77=2012=E4=B8=AA?= =?UTF-8?q?=E4=B8=89=E6=96=B9=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/baronha-ting.md | 169 ++++++++++++++++------ en/react-content-loader.md | 24 +++- en/react-native-charts-wrapper.md | 49 ++++++- en/react-native-file-selector.md | 33 ++++- en/react-native-popover-view.md | 38 ++--- en/react-native-qrcode-svg.md | 26 +++- en/react-native-quick-base64.md | 51 ++++++- en/react-native-root-toast.md | 17 ++- en/react-native-safe-area-context.md | 161 +++++++++++++-------- en/react-native-simple-toast.md | 22 ++- en/react-native-spinkit.md | 45 +++++- en/react-native-tab-view.md | 182 ++++++++++++++---------- zh-cn/baronha-ting.md | 173 ++++++++++++++++------ zh-cn/react-content-loader.md | 53 ++++--- zh-cn/react-native-charts-wrapper.md | 49 ++++++- zh-cn/react-native-file-selector.md | 100 ++++++++++++- zh-cn/react-native-popover-view.md | 70 ++++----- zh-cn/react-native-qrcode-svg.md | 63 +++++--- zh-cn/react-native-quick-base64.md | 137 ++++++++++-------- zh-cn/react-native-root-toast.md | 47 +++--- zh-cn/react-native-safe-area-context.md | 87 +++++++---- zh-cn/react-native-simple-toast.md | 36 +++-- zh-cn/react-native-spinkit.md | 76 ++++++---- zh-cn/react-native-tab-view.md | 121 +++++++++------- 24 files changed, 1276 insertions(+), 553 deletions(-) diff --git a/en/baronha-ting.md b/en/baronha-ting.md index d2352e60c..4d632cd21 100644 --- a/en/baronha-ting.md +++ b/en/baronha-ting.md @@ -4,7 +4,7 @@

@baronha/ting

- + Supported platforms @@ -12,38 +12,51 @@

-> [!TIP] [GitHub address](https://github.com/react-native-oh-library/ting) +> [!TIP] [Github Address](https://github.com/react-native-oh-library/ting) -## Installation and Usage +The repository for this third-party library has been migrated to Gitcode, and it now supports direct download from npm. The new package name is: `@react-native-ohos/ting`. The specific version relationships are as follows: -Find the matching version information in the release address of a third-party library: [@react-native-oh-tpl/ting Releases](https://github.com/react-native-oh-library/ting/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. +| Version | Package Name | Repository | Release |Supported RN Version | +| ------------------------------ | ---------------- | ------------------- | ------------------- | -------------------- | +| 1.2.2 | @react-native-oh-tpl/ting | [Github](https://github.com/react-native-oh-library/ting) | [Github Releases](https://github.com/react-native-oh-library/async-storage/releases) | 0.72 | +| 1.3.0 | @react-native-ohos/ting | [GitCode](https://gitcode.com/openharmony-sig/rntpc_ting) | [GitCode Releases]() | 0.77 | -Go to the project directory and execute the following instruction: +## Installation and Usage +For older versions not published to npm, please refer to the [Installation Guide](/en/tgz-usage.md) to install the tgz package. +Navigate to your project directory and enter the following commands: #### **npm** ```bash +# V1.2.2 npm install @react-native-oh-tpl/ting + +# V1.3.0 +npm install @react-native-ohos/ting ``` #### **yarn** ```bash +# V1.2.2 yarn add @react-native-oh-tpl/ting + +# V1.3.0 +yarn add @react-native-ohos/ting ``` -The following code shows the basic use scenario of the repository: +The following code demonstrates basic usage scenarios of this library: -> [!WARNING] The name of the imported repository remains unchanged. +> [!WARNING] The library name in the import statement remains unchanged. ```js -import { View } from "react-native"; +import { View, Button } from "react-native"; import { ToastOptions, toast @@ -55,34 +68,35 @@ function handleToast(options: ToastOptions) { const App = () => { return ( - -