Skip to content

Commit

Permalink
Add safeAreaInset type to BottomTabBarProps (#5906)
Browse files Browse the repository at this point in the history
* Add safeAreaInset type to BottomTabBarProps

* Update CHANGELOG.md
  • Loading branch information
timmywil authored and brentvatne committed May 16, 2019
1 parent 8e57aae commit 6d9bc8d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]

- Update typescript with headerLeftContainerStyle and headerRightContainerStyle
- Update typescript - Add `safeAreaInset` to `BottomTabBarProps`

## Fixes

Expand Down
6 changes: 6 additions & 0 deletions typescript/react-navigation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1158,6 +1158,12 @@ declare module 'react-navigation' {
labelStyle?: TextStyle;
tabStyle?: ViewStyle;
showIcon?: boolean;
safeAreaInset?: {
top?: SafeAreaViewForceInsetValue,
bottom?: SafeAreaViewForceInsetValue,
left?: SafeAreaViewForceInsetValue,
right?: SafeAreaViewForceInsetValue
};
}

export const MaterialTopTabBar: React.ComponentType<MaterialTopTabBarProps>;
Expand Down

0 comments on commit 6d9bc8d

Please sign in to comment.