0
Hello, I’m creating an application that should not display Drawer on specific routes like login, registration, etc. Currently my file is like this:
import React from 'react'
import { FluidNavigator } from 'react-navigation-fluid-transitions'
import SplashScreen from '../../screens/SplashScreen'
import LoginScreen from '../../screens/LoginScreen'
import RegisterScreen from '../../screens/RegisterScreen'
import LanScreen from '../../screens/LanScreen'
export default Navigator = FluidNavigator({
SplashScreen: { screen: SplashScreen },
LoginScreen: { screen: LoginScreen, },
RegisterScreen: { screen: RegisterScreen },
LanScreen: { screen: LanScreen }
});
I need Drawer to just show up at LanScreen
. How do I set up Navigator so it doesn’t appear on certain screens?
In the file above I’m using the library
react-navigation-fluid-transitions
but she’s an extension ofreact-navigation
so the question fits for the 2 libraries.