Update StackRouter.md (#2047)

Add missing ":"
This commit is contained in:
Franco Sarachu
2017-07-04 03:23:20 -03:00
committed by Adam Miskiewicz
parent 04b5578c14
commit 8772e5f373

View File

@@ -28,7 +28,7 @@ const MyApp = StackRouter({ // This is the RouteConfig:
screen: ProfileScreen,
path: 'profile/:name',
},
Settings {
Settings: {
// This can be handy to lazily require a screen:
getScreen: () => require('Settings').default,
// Note: Child navigators cannot be configured using getScreen because