react-navigation#createSwitchNavigator JavaScript Examples
The following examples show how to use
react-navigation#createSwitchNavigator.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: App.js From react-native-todolist with MIT License | 6 votes |
MainNavigator = createSwitchNavigator(
{
Login: { screen: LoginScreen },
Signup: { screen: SignupScreen },
Setup: { screen: Setup },
Dashboard: { screen: Dashboard },
CreatePlanner: { screen: CreatePlanner },
Record: { screen: Record },
Message: { screen: Message },
Event: { screen: EventDetails },
Search: { screen: Search },
Announcement: { screen: Announcement },
AnnoucementDetails: { screen: AnnoucementDetails }
},
{
headerMode: 'none',
navigationOptions: {
headerVisible: false,
},
},
)
Example #2
Source File: App.js From geometry_3d with MIT License | 6 votes |
AppNavigator = createAppContainer(
createSwitchNavigator(
{
Loading: LoadingScreen,
App: AppBottomNavigator,
Auth: AuthStack,
Objects: Object3DNavigator,
},
{
initialRouteName: "Loading",
}
)
)
Example #3
Source File: App.js From hugin-mobile with GNU Affero General Public License v3.0 | 6 votes |
AppContainer = createAppContainer(createSwitchNavigator(
{
Login: {
screen: LoginNavigator,
},
Home: {
screen: HomeNavigator,
},
},
{
initialRouteName: 'Login',
}
))
Example #4
Source File: AppNavigator.js From pineapple-reactNative with MIT License | 6 votes |
App = createSwitchNavigator({
// You could add another route here for authentication.
// Read more at https://reactnavigation.org/docs/en/auth-flow.html
Load: {
screen: LoadNavigator,
},
Auth: {
screen: StackNavigator,
},
Main: {
screen: MainTabNavigator,
}
})
Example #5
Source File: AppNavigator.js From mern-stack with MIT License | 6 votes |
switchNavigator = createSwitchNavigator(
{
AuthLoading: AuthLoadingScreen,
authStack,
mainBottomTabs,
},
{
initialRouteName: 'AuthLoading',
}
)
Example #6
Source File: AppNavigator.web.js From expo-soundcloud-clone with MIT License | 5 votes |
switchNavigator = createSwitchNavigator({
// You could add another route here for authentication.
// Read more at https://reactnavigation.org/docs/en/auth-flow.html
Main: MainTabNavigator,
})
Example #7
Source File: routes.js From interface-nubank with MIT License | 5 votes |
Routes = createAppContainer(createSwitchNavigator({ Main }))
Example #8
Source File: AppNavigation.js From gDoctor with MIT License | 5 votes |
MainNav = createSwitchNavigator({
SplashScreen,
App: AppStack
}, {
initialRouteName: 'SplashScreen'
})
Example #9
Source File: routes.js From openweathermap-reactnative with MIT License | 5 votes |
Routes = createAppContainer(createSwitchNavigator({Main}))
Example #10
Source File: AppNavigator.web.js From pineapple-reactNative with MIT License | 5 votes |
switchNavigator = createSwitchNavigator({
// You could add another route here for authentication.
// Read more at https://reactnavigation.org/docs/en/auth-flow.html
Main: MainTabNavigator,
})
Example #11
Source File: App.js From Wily_Authentication with MIT License | 5 votes |
switchNavigator = createSwitchNavigator({ LoginScreen:{screen: LoginScreen}, TabNavigator:{screen: TabNavigator} })
Example #12
Source File: App.js From barter-app-stage-10 with MIT License | 5 votes |
switchNavigator = createSwitchNavigator({ WelcomeScreen:{screen: WelcomeScreen}, Drawer:{screen: AppDrawerNavigator}, BottomTab: {screen: AppTabNavigator}, })
Example #13
Source File: App.js From barter-app-stage-5 with MIT License | 5 votes |
switchNavigator = createSwitchNavigator({ WelcomeScreen:{screen: WelcomeScreen}, AppDrawNavigator : AppDrawNavigator, })
Example #14
Source File: App.js From book-santa-stage-10 with MIT License | 5 votes |
switchNavigator = createSwitchNavigator({ WelcomeScreen:{screen: WelcomeScreen}, Drawer:{screen: AppDrawerNavigator}, BottomTab: {screen: AppTabNavigator}, })