From f669d2dd272465fe3dda0b775926b5dd70455038 Mon Sep 17 00:00:00 2001 From: axelgar <40733405+axelgar@users.noreply.github.com> Date: Tue, 2 Apr 2019 20:47:46 +0200 Subject: [PATCH] Update README.md --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9e4bd33..73736e1 100644 --- a/README.md +++ b/README.md @@ -87,10 +87,12 @@ Add likes and retweets to each tweet in the FlatList. You can use the following 1. Create a Stack Navigator in `src/Screens/PublicNavigator.js` that shows the LoginScreen & the Terms and Conditions screen. Tips: - You can read the official doc here [https://reactnavigation.org/docs/en/stack-navigator.html](https://reactnavigation.org/docs/en/stack-navigator.html) - You can use the above LOGIN_SCREEN and TOC_SCREEN as route names - 2. Add some options to the navigator - - headerMode: none - - mode: 'modal' - - initialRouteName: LOGIN_SCREEN (optional) + 2. Add some options to the navigator: + ``` + headerMode: 'none' + mode: 'modal' + initialRouteName: LOGIN_SCREEN (optional) + ``` 3. Update the entry point of the app with `createAppContainer` using the PublicNavigator in `src/Screens/RootNavigator.js`.