Merge pull request #33338 from hmajid2301/react-navigation

Added screenProps DrawerItemsProps to React Navigation
This commit is contained in:
Jesse Trinity
2019-02-25 14:58:54 -08:00
committed by GitHub
+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?: any;
}
export interface DrawerScene {
route: NavigationRoute;