Added screenProps

Added screenProps to DrawerItemsProps.
This commit is contained in:
Haseeb Majid
2019-02-23 12:55:12 +00:00
parent 351eeb6186
commit 05a76b557f
+2
View File
@@ -32,6 +32,7 @@
// Deniss Borisovs <https://github.com/denissb>
// Kenneth Skovhus <https://github.com/skovhus>
// Aaron Rosen <https://github.com/azrosen92>
// Haseeb Majid <https://github.com/hmajid2301>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
@@ -922,6 +923,7 @@ export interface DrawerItemsProps {
inactiveLabelStyle?: StyleProp<TextStyle>;
iconContainerStyle?: StyleProp<ViewStyle>;
drawerPosition: 'left' | 'right';
screenProps?: { [key: string]: any };
}
export interface DrawerScene {
route: NavigationRoute;