Expose drawer container style

This commit is contained in:
Miguel Chateloin
2018-12-10 15:47:22 -06:00
parent 41a8f5366a
commit bac57afdc6
2 changed files with 2 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ exports[`createDrawerNavigator renders successfully 1`] = `
<RCTView
contentContainerStyle={undefined}
drawerBackgroundColor="white"
drawerContainerStyle={undefined}
drawerLockMode={undefined}
drawerPosition="left"
drawerType="front"

View File

@@ -238,6 +238,7 @@ export default class DrawerView extends React.PureComponent {
statusBarAnimation={this.props.navigationConfig.statusBarAnimation}
minSwipeDistance={this.props.navigationConfig.minSwipeDistance}
overlayColor={this.props.navigationConfig.overlayColor}
drawerContainerStyle={this.props.navigationConfig.drawerContainerStyle}
contentContainerStyle={
this.props.navigationConfig.contentContainerStyle
}