💫 Example - Update ContextMenuViewExample11

This commit is contained in:
Dominic Go 2022-01-08 04:23:40 +08:00
parent ad9c1d040a
commit 74c06fab8d

View File

@ -31,10 +31,10 @@ export function ContextMenuViewExample11(props: ContextMenuExampleProps) {
</Text>
</View>
)}
onPressMenuItem={({nativeEvent}) => {
onPressMenuPreview={() => {
Alert.alert(
'onPressMenuItem Event',
`actionKey: ${nativeEvent.actionKey} - actionTitle: ${nativeEvent.actionTitle}`
'onPressMenuPreview Event',
`Menu preview was pressed...`
);
}}
>