Skip to content

Commit 1fd5a86

Browse files
dulmandakhosdnk
authored andcommitted
feat: export BottomTabBar props type (facebook#109)
1 parent 1153d55 commit 1fd5a86

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

packages/bottom-tabs/src/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ export {
88
/**
99
* Views
1010
*/
11-
export { default as BottomTabBar } from './views/BottomTabBar';
11+
export {
12+
default as BottomTabBar,
13+
Props as BottomTabBarProps,
14+
} from './views/BottomTabBar';
1215

1316
/**
1417
* Types

packages/bottom-tabs/src/views/BottomTabBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type State = {
2222
visible: Animated.Value;
2323
};
2424

25-
type Props = BottomTabBarProps & {
25+
export type Props = BottomTabBarProps & {
2626
activeTintColor: string;
2727
inactiveTintColor: string;
2828
safeAreaInset: React.ComponentProps<typeof SafeAreaView>['forceInset'];

0 commit comments

Comments
 (0)