Navigation.OpenDrawer n'est pas une fonction React Native
I think you should use the main navigation object obtained from useNavigation:
const navigation = useNavigation();
return (
<Button transparent onPress={() => navigation.openDrawer()}>
<Icon active name="menu"/>
</Button>
)
Dayanaohhnana