From 74c06fab8df3494855e61bb3003f712f02d99eee Mon Sep 17 00:00:00 2001 From: Dominic Go <18517029+dominicstop@users.noreply.github.com> Date: Sat, 8 Jan 2022 04:23:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AB=20Example=20-=20Update=20`ContextM?= =?UTF-8?q?enuViewExample11`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/src/examples/ContextMenuViewExample11.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/src/examples/ContextMenuViewExample11.tsx b/example/src/examples/ContextMenuViewExample11.tsx index 9107031..3bcd40d 100644 --- a/example/src/examples/ContextMenuViewExample11.tsx +++ b/example/src/examples/ContextMenuViewExample11.tsx @@ -31,10 +31,10 @@ export function ContextMenuViewExample11(props: ContextMenuExampleProps) { )} - onPressMenuItem={({nativeEvent}) => { + onPressMenuPreview={() => { Alert.alert( - 'onPressMenuItem Event', - `actionKey: ${nativeEvent.actionKey} - actionTitle: ${nativeEvent.actionTitle}` + 'onPressMenuPreview Event', + `Menu preview was pressed...` ); }} >