Remove hardcoded left-pane size

This commit is contained in:
Volodymyr Kozieiev 2019-06-18 13:29:39 +03:00 committed by GitHub
parent 9c73dcba5e
commit 47311f0653
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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}