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

Commit

Permalink
feat: export BottomTabBar props type (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
dulmandakh authored and osdnk committed Sep 25, 2019
1 parent 1153d55 commit 1fd5a86
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/bottom-tabs/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ export {
/**
* Views
*/
export { default as BottomTabBar } from './views/BottomTabBar';
export {
default as BottomTabBar,
Props as BottomTabBarProps,
} from './views/BottomTabBar';

/**
* Types
Expand Down
2 changes: 1 addition & 1 deletion packages/bottom-tabs/src/views/BottomTabBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type State = {
visible: Animated.Value;
};

type Props = BottomTabBarProps & {
export type Props = BottomTabBarProps & {
activeTintColor: string;
inactiveTintColor: string;
safeAreaInset: React.ComponentProps<typeof SafeAreaView>['forceInset'];
Expand Down

0 comments on commit 1fd5a86

Please sign in to comment.