Skip to content

Commit 1b8b5f9

Browse files
author
Matthieu Napoli
committed
Document the navigation
1 parent bf774f1 commit 1b8b5f9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

App/Containers/Root/RootScreen.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ import StartupActions from 'App/Stores/Startup/Actions'
1111
/**
1212
* The root screen contains the application's navigation.
1313
*
14-
* The navigation is handled using https://reactnavigation.org
14+
* @see https://reactnavigation.org/docs/en/hello-react-navigation.html#creating-a-stack-navigator
1515
*/
1616
const AppNav = createStackNavigator(
1717
{
18-
SplashScreen: { screen: SplashScreen },
19-
MainScreen: { screen: ExampleScreen },
18+
// Create the application routes here (the key is the route name, the value is the target screen)
19+
SplashScreen: SplashScreen,
20+
MainScreen: ExampleScreen,
2021
},
2122
{
2223
// By default the application will show the splash screen

0 commit comments

Comments
 (0)