diff --git a/en/react-native-context-menu-view.md b/en/react-native-context-menu-view.md index bf6f4f57aa3f1b3370e9b0323075e9780591b3bb..eb5e2c062f2017e7fca5467f30e2ff6ea33a7753 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 3bcee3ce39ff0ab0e2f6c9f9e1fb9f1711c251ec..8cbc4e13200010e064107b60f35abbed8ce33c8e 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 |