@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/lib/commonjs/views/DrawerView.js +2 -2
- package/lib/commonjs/views/DrawerView.js.map +1 -1
- package/lib/module/views/DrawerView.js +2 -2
- package/lib/module/views/DrawerView.js.map +1 -1
- package/lib/typescript/commonjs/src/types.d.ts +1 -1
- package/lib/typescript/commonjs/src/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/tsconfig.build.tsbuildinfo +1 -1
- package/lib/typescript/module/src/types.d.ts +1 -1
- package/lib/typescript/module/src/types.d.ts.map +1 -1
- package/lib/typescript/module/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/types.tsx +1 -1
- package/src/views/DrawerView.tsx +2 -2
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.
|
|
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": "
|
|
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
|
-
|
|
171
|
+
sceneStyle?: StyleProp<ViewStyle>;
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
174
|
* Function to modify the pan gesture handler via RNGH properties API.
|
package/src/views/DrawerView.tsx
CHANGED
|
@@ -250,7 +250,7 @@ function DrawerViewBase({
|
|
|
250
250
|
headerShown,
|
|
251
251
|
headerStatusBarHeight,
|
|
252
252
|
headerTransparent,
|
|
253
|
-
|
|
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={
|
|
278
|
+
style={sceneStyle}
|
|
279
279
|
>
|
|
280
280
|
{descriptor.render()}
|
|
281
281
|
</Screen>
|