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

Commit

Permalink
fix: add safeAreaInset to tab bar options
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Sep 19, 2019
1 parent e644bad commit 34fd957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export type BottomTabBarOptions = {
| LabelPosition
| ((options: { deviceOrientation: Orientation }) => LabelPosition);
adaptive?: boolean;
safeAreaInset?: React.ComponentProps<typeof SafeAreaView>['forceInset'];
style?: StyleProp<ViewStyle>;
};

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

0 comments on commit 34fd957

Please sign in to comment.