Suggest flex: 1 for embedded navigator (#2639)

This commit is contained in:
David Lewis
2017-10-04 00:01:52 +02:00
parent 1c42cd69b3
commit 49c5990244

View File

@@ -90,6 +90,8 @@ const SimpleApp = StackNavigator({
```
In this case, the NavigatorWrappingScreen is not a navigator, but it renders a navigator as part of its output.
If this navigator renders blank then change `<View>` to `<View style={{flex: 1}}>`.
```js
class NavigatorWrappingScreen extends React.Component {
render() {