Remove hardcoded left-pane size
This commit is contained in:
parent
9c73dcba5e
commit
47311f0653
2
index.js
2
index.js
|
@ -42,8 +42,8 @@ class TwoPaneNavigator extends React.Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<View style={{flex: 1, flexDirection: 'row'}}>
|
||||||
<View>
|
<View>
|
||||||
<View style={{width: 300, borderRightWidth: 1, marginTop: 50}}>
|
|
||||||
<this.LeftPaneComponent navigation={navigation}/>
|
<this.LeftPaneComponent navigation={navigation}/>
|
||||||
</View>
|
</View>
|
||||||
{rightPane}
|
{rightPane}
|
||||||
|
|
Loading…
Reference in New Issue