Hello, I'm trying to open a menu with a Appbar Action, but it seems that onPress is not working even if a just do a console log.
My code:
`
<Appbar.Header>
<Appbar.Content title="SegurUSP" />
<Menu
visible={visible}
onDismiss={closeMenu}
anchor={
<Appbar.Action
icon="dots-vertical"
onPress={openMenu}
color="white"></Appbar.Action>
}>
<Menu.Item title="Item 1" />
<Menu.Item title="Item 2" />
<Menu.Item title="Item 3" />
</Menu>
<Appbar.Action
icon="archive"
onPress={() => console.log('Pressed archive')}
/>
</Appbar.Header>
<Map></Map>
</PaperProvider>`
Hello, I'm trying to open a menu with a Appbar Action, but it seems that onPress is not working even if a just do a console log.
My code:
`
<Appbar.Header>
<Appbar.Content title="SegurUSP" />