mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-10 17:23:42 +08:00
Add missing types for DrawerNavigatorConfig (#5820)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user