Add missing types for DrawerNavigatorConfig (#5820)

This commit is contained in:
Edmundo Santos
2019-04-17 19:28:25 +01:00
parent f1c5926ad2
commit 02e0dad97c
2 changed files with 6 additions and 1 deletions

View File

@@ -9,7 +9,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## Fixes
- Remove `createTabNavigator` from type definitions.
- Remove `createTabNavigator` from type definitions
- Add missing types for `DrawerNavigatorConfig`
## [3.8.1] - [2019-04-12](https://github.com/react-navigation/react-navigation/releases/tag/3.8.1)

View File

@@ -1016,7 +1016,11 @@ declare module 'react-navigation' {
style?: StyleProp<ViewStyle>;
labelStyle?: StyleProp<TextStyle>;
};
drawerType?: 'front' | 'back' | 'slide';
drawerLockMode?: DrawerLockMode;
edgeWidth?: number;
hideStatusBar?: boolean;
overlayColor?: string;
}
export function DrawerNavigator(