Questions tagged [react-navigation-drawer]
395 questions
-1
votes
1 answer
Login And logout With Drawer navigation in react native
My main issue is after login i want to hide the login from drawer bar and instead of login want to show logout,
{() => (
…
-1
votes
1 answer
React native log out in DrawerNavigator
I am trying to do a logout function in my react-native drawernavigator. But I have no idea how to do so. I stored the token in asyncstorage, I need to logout and clear the asyncstorage at the same time.
Here is my code, anyone having idea about…

SAS231
- 175
- 4
- 17
-1
votes
1 answer
React navigation- import file navigate page
This file import
class Footer extends Component {
_notifications = () => {
const { navigate } = this.props.navigation;
navigate('Ntf', {});
}
render() {
return ( this._notifications()}…

nonenone
- 3
- 1
- 2
-1
votes
1 answer
Custom open/close Drawer animation
I have Drawer navigator inside my app. I've successfully changed the default (right to left) animation between screens to fadeIn/fadeOut.
But I can't find a way to change the default animation for react-navigation Drawer that slides from right to…

root993
- 3
- 1
- 3
-6
votes
2 answers
createDrawerNavigation() has been moved to react-navigation-drawer
createDrawerNavigation() has been moved to react-navigation-drawer. See https://reactnavigation.org/docs/4.x/drawer-navigator.html for more details

Chitranshu
- 59
- 2
- 10