mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 17:34:59 +08:00
Add safeAreaInset type to BottomTabBarProps (#5906)
* Add safeAreaInset type to BottomTabBarProps * Update CHANGELOG.md
This commit is contained in:
committed by
Brent Vatne
parent
8e57aae5cf
commit
6d9bc8d869
@@ -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
|
||||
|
||||
|
||||
6
typescript/react-navigation.d.ts
vendored
6
typescript/react-navigation.d.ts
vendored
@@ -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