Skip to content

Commit

Permalink
Add missing types for DrawerNavigatorConfig (#5820)
Browse files Browse the repository at this point in the history
  • Loading branch information
manfromanotherland authored and brentvatne committed Apr 17, 2019
1 parent 837fc0b commit 3f8a4d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 4 additions & 0 deletions typescript/react-navigation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 3f8a4d4

Please sign in to comment.