Skip to content

Commit 3e73402

Browse files
bgerhardscharpeni
authored andcommitted
adds default exporting of App (facebook#424)
1 parent 7bf3820 commit 3e73402

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/navigation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ const App = createStackNavigator({
3232
Home: { screen: HomeScreen },
3333
Profile: { screen: ProfileScreen },
3434
});
35+
36+
export default App;
3537
```
3638

3739
Each screen component can set navigation options such as the header title. It can use action creators on the `navigation` prop to link to other screens:

0 commit comments

Comments
 (0)