Issue-5701: TabBarBottom -> BottomTabBar in type definitions (#5702)

* Issue-5701: TabBarBottom -> BottomTabBar in type definitions

* BottomTabBar changelog update
This commit is contained in:
Jacob Powers
2019-03-19 10:45:54 -07:00
parent 31908c5306
commit 677d4e9950
3 changed files with 6 additions and 4 deletions

View File

@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
- fixed types for `BottomTabBar`
## Changed
- Updated react-native-gesture-handler to ~3.1.0

View File

@@ -1200,7 +1200,7 @@ declare module 'react-navigation' {
};
declare export var TabBarTop: React$ComponentType<_TabBarTopProps>;
declare type _TabBarBottomProps = {
declare type _BottomTabBarProps = {
activeTintColor: string,
activeBackgroundColor: string,
adaptive?: boolean,
@@ -1229,7 +1229,7 @@ declare module 'react-navigation' {
tabStyle?: ViewStyleProp,
showIcon?: boolean,
};
declare export var TabBarBottom: React$ComponentType<_TabBarBottomProps>;
declare export var BottomTabBar: React$ComponentType<_BottomTabBarProps>;
declare export function withNavigation<
Props: {},

View File

@@ -1102,7 +1102,7 @@ declare module 'react-navigation' {
iconStyle?: ViewStyle;
}
export interface TabBarBottomProps {
export interface BottomTabBarProps {
activeTintColor: string;
activeBackgroundColor: string;
adaptive?: boolean;
@@ -1132,7 +1132,7 @@ declare module 'react-navigation' {
}
export const TabBarTop: React.ComponentType<TabBarTopProps>;
export const TabBarBottom: React.ComponentType<TabBarBottomProps>;
export const BottomTabBar: React.ComponentType<BottomTabBarProps>;
/**
* NavigationActions