TabBarTop is MaterialTopTabBar now (#5856)

This commit is contained in:
Isaac Clements
2019-04-30 00:54:51 +01:00
committed by Brent Vatne
parent 542122794a
commit 950d5ef6d2
2 changed files with 6 additions and 2 deletions

View File

@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
## Fixes
- Update typescript - `TabBarTop` is now `MaterialTopTabBar`
## [3.9.0] - [2019-04-23](https://github.com/react-navigation/react-navigation/releases/tag/3.9.0)
## Fixes

View File

@@ -1102,7 +1102,7 @@ declare module 'react-navigation' {
drawConfig?: TabNavigatorConfig
): NavigationContainer;
export interface TabBarTopProps {
export interface MaterialTopTabBarProps {
activeTintColor: string;
inactiveTintColor: string;
indicatorStyle: StyleProp<ViewStyle>;
@@ -1157,7 +1157,7 @@ declare module 'react-navigation' {
showIcon?: boolean;
}
export const TabBarTop: React.ComponentType<TabBarTopProps>;
export const MaterialTopTabBar: React.ComponentType<MaterialTopTabBarProps>;
export const BottomTabBar: React.ComponentType<BottomTabBarProps>;
/**