diff --git a/packages/react-navigation/docs/api/navigators/DrawerNavigator.md b/packages/react-navigation/docs/api/navigators/DrawerNavigator.md index 27478cdc..a1c05ba6 100644 --- a/packages/react-navigation/docs/api/navigators/DrawerNavigator.md +++ b/packages/react-navigation/docs/api/navigators/DrawerNavigator.md @@ -87,11 +87,12 @@ The route configs object is a mapping from route name to a route config, which t ### DrawerNavigatorConfig -- `drawerWidth` - Width of the drawer +- `drawerWidth` - Width of the drawer. - `drawerPosition` - Options are `left` or `right`. Default is `left` position. - `contentComponent` - Component used to render the content of the drawer, for example, navigation items. Receives the `navigation` prop for the drawer. Defaults to `DrawerItems`. For more information, see below. - `contentOptions` - Configure the drawer content, see below. - `useNativeAnimations` - Enable native animations. Default is `true`. +- `drawerBackgroundColor` - Use the Drawer background for some color. The Default is `white`. #### Example: @@ -103,7 +104,8 @@ as you can see in the example below. { drawerWidth: 200, drawerPosition: 'right', - contentComponent: props => + contentComponent: props => , + drawerBackgroundColor: 'transparent' } ```