Add safeAreaInset type to BottomTabBarProps (#5906)

* Add safeAreaInset type to BottomTabBarProps

* Update CHANGELOG.md
This commit is contained in:
Timmy Willison
2019-05-15 23:24:12 -04:00
parent 1e5bd95ee4
commit bf6cac9af2
2 changed files with 7 additions and 0 deletions

View File

@@ -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

View File

@@ -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>;