Suggest flex: 1 for embedded navigator (#2639)

This commit is contained in:
David Lewis 2017-10-04 00:01:52 +02:00 committed by Spencer Carli
parent 81d8d91085
commit c08be7fb43

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() {