From 58e407f1afc571ab350abea62c538eb859054538 Mon Sep 17 00:00:00 2001 From: wwx1419553 Date: Fri, 5 Dec 2025 14:06:13 +0800 Subject: [PATCH] =?UTF-8?q?docs(readme):=20[Issues:#IDAXOH]=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=89=E6=96=B9=E5=BA=93=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/react-native-context-menu-view.md | 18 +++++++++--------- zh-cn/react-native-context-menu-view.md | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/en/react-native-context-menu-view.md b/en/react-native-context-menu-view.md index bf6f4f57..eb5e2c06 100644 --- a/en/react-native-context-menu-view.md +++ b/en/react-native-context-menu-view.md @@ -210,16 +210,16 @@ 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 | -| ---------------------- | ------------------------------------------------------------------------------------------ | -------- | -------- | ---------------------- | ----------------- | -| title | The title above the popup menu. | string | no | Android/iOS | yes | -| actions | Menu props. | array | no | Android(partially)/iOS | partially | -| previewBackgroundColor | The background color of the preview. | string | no | NA | no | +| Name | Description | Type | Required | Platform | HarmonyOS Support | +| ---------------------- | ------------------------------------------------------------ | -------- | -------- | ---------------------- | ----------------- | +| title | The title above the popup menu. | string | no | Android/iOS | yes | +| actions | Menu props. | array | no | Android(partially)/iOS | partially | +| previewBackgroundColor | The background color of the preview. | string | no | NA | no | | dropdownMenuMode | When set to true, the context menu is triggered with a single tap instead of a long press. | boolean | no | Android/iOS | yes | -| disabled | Disable menu interaction. | boolean | no | Android/iOS | yes | -| onPress | When the popup is opened and the user picks an option. | callback | no | Android/iOS | yes | -| onPreviewPress | When the context menu preview is tapped. | callback | no | iOS | yes | -| onCancel | When the popup is opened and the user cancels. | callback | no | Android/iOS | yes | +| disabled | Disable menu interaction. | boolean | no | Android/iOS | yes | +| onPress | When the popup is opened and the user picks an option. | callback | no | Android/iOS | yes | +| onPreviewPress | When the context menu preview is tapped. | callback | no | iOS | no | +| onCancel | When the popup is opened and the user cancels. | callback | no | Android/iOS | yes | ## actions diff --git a/zh-cn/react-native-context-menu-view.md b/zh-cn/react-native-context-menu-view.md index 3bcee3ce..8cbc4e13 100644 --- a/zh-cn/react-native-context-menu-view.md +++ b/zh-cn/react-native-context-menu-view.md @@ -262,7 +262,7 @@ ohpm install | dropdownMenuMode | When set to true, the context menu is triggered with a single tap instead of a long press. | boolean | no | Android/iOS | yes | | disabled | Disable menu interaction. | boolean | no | Android/iOS | yes | | onPress | When the popup is opened and the user picks an option. | callback | no | Android/iOS | yes | -| onPreviewPress | When the context menu preview is tapped. | callback | no | iOS | yes | +| onPreviewPress | When the context menu preview is tapped. | callback | no | iOS | no | | onCancel | When the popup is opened and the user cancels. | callback | no | Android/iOS | yes | | fontName1.19.1+ | Custom font name to use for menu items. The font must be available in your app's font resources. | string | no | Android | yes | | borderRadius1.19.1+ | Sets the border radius for all corners of the preview. Can be overridden by individual corner settings. | number | no | iOS | no | -- Gitee