Make TabNavigator code example formatting consistent (#462)

* Make TabNavigator code example formatting consistent

* Fix typo in StackRouter docs
This commit is contained in:
Jordan Hayashi
2017-03-07 01:50:12 -05:00
parent aa73c3c6f6
commit 91bb04b45b
2 changed files with 6 additions and 4 deletions

View File

@@ -114,10 +114,12 @@ Example:
```js
tabBarOptions: {
activeTintColor: '#e91e63',
labelStyle: { fontSize: 12 },
labelStyle: {
fontSize: 12,
},
style: {
backgroundColor: 'blue',
}
},
}
```
@@ -145,7 +147,7 @@ tabBarOptions: {
},
style: {
backgroundColor: 'blue',
}
},
}
```

View File

@@ -16,7 +16,7 @@ const MyApp = StackRouter({
### RouteConfig
A basic stack router have a route config. Here is an example configuration:
A basic stack router expects a route config object. Here is an example configuration:
```js
const MyApp = StackRouter({ // This is the RouteConfig: