mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-06-20 12:08:46 +08:00
TabBarTop is MaterialTopTabBar now (#5856)
This commit is contained in:
committed by
Brent Vatne
parent
542122794a
commit
950d5ef6d2
@@ -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
|
||||
|
||||
4
typescript/react-navigation.d.ts
vendored
4
typescript/react-navigation.d.ts
vendored
@@ -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>;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user