mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-11 22:33:32 +08:00
Add safeAreaInset type to BottomTabBarProps (#5906)
* Add safeAreaInset type to BottomTabBarProps * Update CHANGELOG.md
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user