From 237ca415fe092326127f01d7bf5f5952b4e08376 Mon Sep 17 00:00:00 2001 From: zgf Date: Thu, 12 Jun 2025 18:45:32 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:=20#ICESCH]:=20remobile-react-n?= =?UTF-8?q?ative-toast=E6=96=87=E6=A1=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zgf --- en/remobile-react-native-toast.md | 20 ++++++++++---------- zh-cn/remobile-react-native-toast.md | 18 +++++++++--------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/en/remobile-react-native-toast.md b/en/remobile-react-native-toast.md index 5de8ff7c..6eb53a46 100644 --- a/en/remobile-react-native-toast.md +++ b/en/remobile-react-native-toast.md @@ -17,7 +17,7 @@ ## Installation and Usage -Find the matching version information in the release address of a third-party library: [@react-native-oh-tpl/react-native-toast Releases](https://github.com/react-native-oh-library/react-native-toast/releases). +Find the matching version information in the release address of a third-party library: [@react-native-oh-tpl/react-native-toast Releases](https://github.com/react-native-oh-library/react-native-toast/releases).For older versions that have not been released to npm, please refer to the [Installation Guide] (/zh cn/tgz usage. md) to install the tgz package. Go to the project directory and execute the following instruction: @@ -199,15 +199,15 @@ Check the release version information in the release address of the third-party > [!TIP] If the value of **HarmonyOS Support** is **yes**, it means that the HarmonyOS platform supports this property; **no** means the opposite; **partially** means some capabilities of this property are supported. The usage method is the same on different platforms and the effect is the same as that of iOS or Android. | Name | Description | Type | Required | Platform | HarmonyOS Support | -| ---- | ----------- | ---- | -------- | -------- | ------------------ | -| show() | Displays the location of the toast, its duration, the content of the message | function | yes | android | yes | -| showShortTop() | Display the top Toast for a short time | function | yes | android | yes | -| showShortCenter() | Display the center Toast for a short time | function | yes | android | yes | -| showShortBottom() | Display the bottom Toast for a short time | function | yes | android | yes | -| showLongTop() | Display the top Toast for a long time | function | yes | android | yes | -| showLongCenter() | Display the center Toast for a long time | function | yes | android | yes | -| showLongBottom() | Display the bottom Toast for a long time | function | yes | android | yes | -| hide() | Hide the toast that is being displayed | function | yes | android | no | +| ---- | ----------- | ---- |----------| -------- | ------------------ | +| show() | Displays the location of the toast, its duration, the content of the message | function | no | android | yes | +| showShortTop() | Display the top Toast for a short time | function | no | android | yes | +| showShortCenter() | Display the center Toast for a short time | function | no | android | yes | +| showShortBottom() | Display the bottom Toast for a short time | function | no | android | yes | +| showLongTop() | Display the top Toast for a long time | function | no | android | yes | +| showLongCenter() | Display the center Toast for a long time | function | no | android | yes | +| showLongBottom() | Display the bottom Toast for a long time | function | no | android | yes | +| hide() | Hide the toast that is being displayed | function | no | android | no | ## Known Issues diff --git a/zh-cn/remobile-react-native-toast.md b/zh-cn/remobile-react-native-toast.md index e7c5d13f..5b2fb15c 100644 --- a/zh-cn/remobile-react-native-toast.md +++ b/zh-cn/remobile-react-native-toast.md @@ -202,15 +202,15 @@ ohpm install > [!TIP] "HarmonyOS Support"列为 yes 表示 HarmonyOS 平台支持该属性;no 则表示不支持;partially 表示部分支持。使用方法跨平台一致,效果对标 iOS 或 Android 的效果。 | Name | Description | Type | Required | Platform | HarmonyOS Support | -| ---- | ----------- | ---- | -------- | -------- | ------------------ | -| show() | Displays the location of the toast, its duration, the content of the message | function | yes | android | yes | -| showShortTop() | Display the top Toast for a short time | function | yes | android | yes | -| showShortCenter() | Display the center Toast for a short time | function | yes | android | yes | -| showShortBottom() | Display the bottom Toast for a short time | function | yes | android | yes | -| showLongTop() | Display the top Toast for a long time | function | yes | android | yes | -| showLongCenter() | Display the center Toast for a long time | function | yes | android | yes | -| showLongBottom() | Display the bottom Toast for a long time | function | yes | android | yes | -| hide() | Hide the toast that is being displayed | function | yes | android | no | +| ---- | ----------- | ---- |---------| -------- | ------------------ | +| show() | Displays the location of the toast, its duration, the content of the message | function | no | android | yes | +| showShortTop() | Display the top Toast for a short time | function | no | android | yes | +| showShortCenter() | Display the center Toast for a short time | function | no | android | yes | +| showShortBottom() | Display the bottom Toast for a short time | function | no | android | yes | +| showLongTop() | Display the top Toast for a long time | function | no | android | yes | +| showLongCenter() | Display the center Toast for a long time | function | no | android | yes | +| showLongBottom() | Display the bottom Toast for a long time | function | no | android | yes | +| hide() | Hide the toast that is being displayed | function | no | android | no | ## 遗留问题 -- Gitee