Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Commit 34fd957

Browse files
committed
fix: add safeAreaInset to tab bar options
1 parent e644bad commit 34fd957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export type BottomTabBarOptions = {
5353
| LabelPosition
5454
| ((options: { deviceOrientation: Orientation }) => LabelPosition);
5555
adaptive?: boolean;
56+
safeAreaInset?: React.ComponentProps<typeof SafeAreaView>['forceInset'];
5657
style?: StyleProp<ViewStyle>;
5758
};
5859

@@ -92,7 +93,6 @@ export type BottomTabBarProps = BottomTabBarOptions & {
9293
}) => React.ReactNode;
9394
dimensions: { width: number; height: number };
9495
isLandscape: boolean;
95-
safeAreaInset?: React.ComponentProps<typeof SafeAreaView>['forceInset'];
9696
jumpTo: (key: string) => void;
9797
screenProps: unknown;
9898
};

0 commit comments

Comments
 (0)