@react-navigation/drawer 7.0.0-rc.33 → 7.0.0-rc.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@react-navigation/drawer",
3
3
  "description": "Integration for the drawer component from react-native-drawer-layout",
4
- "version": "7.0.0-rc.33",
4
+ "version": "7.0.0-rc.34",
5
5
  "keywords": [
6
6
  "react-native-component",
7
7
  "react-component",
@@ -106,5 +106,5 @@
106
106
  ]
107
107
  ]
108
108
  },
109
- "gitHead": "dfb56c62f21728a7e130945fd4e7b74e9c130fff"
109
+ "gitHead": "581681aea465b871728b9d7e4b1a6eebbcf05ed0"
110
110
  }
package/src/types.tsx CHANGED
@@ -168,7 +168,7 @@ export type DrawerNavigationOptions = HeaderOptions & {
168
168
  /**
169
169
  * Style object for the component wrapping the screen content.
170
170
  */
171
- sceneContainerStyle?: StyleProp<ViewStyle>;
171
+ sceneStyle?: StyleProp<ViewStyle>;
172
172
 
173
173
  /**
174
174
  * Function to modify the pan gesture handler via RNGH properties API.
@@ -250,7 +250,7 @@ function DrawerViewBase({
250
250
  headerShown,
251
251
  headerStatusBarHeight,
252
252
  headerTransparent,
253
- sceneContainerStyle,
253
+ sceneStyle,
254
254
  } = descriptor.options;
255
255
 
256
256
  return (
@@ -275,7 +275,7 @@ function DrawerViewBase({
275
275
  descriptor.navigation as DrawerNavigationProp<ParamListBase>,
276
276
  options: descriptor.options,
277
277
  })}
278
- style={sceneContainerStyle}
278
+ style={sceneStyle}
279
279
  >
280
280
  {descriptor.render()}
281
281
  </Screen>