diff --git a/packages/react-navigation/CHANGELOG.md b/packages/react-navigation/CHANGELOG.md index b3f3ee7f..397176f7 100644 --- a/packages/react-navigation/CHANGELOG.md +++ b/packages/react-navigation/CHANGELOG.md @@ -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 diff --git a/packages/react-navigation/typescript/react-navigation.d.ts b/packages/react-navigation/typescript/react-navigation.d.ts index 906b812b..c6a75360 100644 --- a/packages/react-navigation/typescript/react-navigation.d.ts +++ b/packages/react-navigation/typescript/react-navigation.d.ts @@ -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;