💫 Example - Update ContextMenuViewExample11
This commit is contained in:
parent
ad9c1d040a
commit
74c06fab8d
@ -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...`
|
||||
);
|
||||
}}
|
||||
>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user