From 950d5ef6d294e147f5bf4e2aa1940f4494d14e8a Mon Sep 17 00:00:00 2001 From: Isaac Clements Date: Tue, 30 Apr 2019 00:54:51 +0100 Subject: [PATCH] `TabBarTop` is `MaterialTopTabBar` now (#5856) --- CHANGELOG.md | 4 ++++ typescript/react-navigation.d.ts | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e9c15d4..49b41084 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/typescript/react-navigation.d.ts b/typescript/react-navigation.d.ts index cb97fa4b..c2c593d9 100644 --- a/typescript/react-navigation.d.ts +++ b/typescript/react-navigation.d.ts @@ -1102,7 +1102,7 @@ declare module 'react-navigation' { drawConfig?: TabNavigatorConfig ): NavigationContainer; - export interface TabBarTopProps { + export interface MaterialTopTabBarProps { activeTintColor: string; inactiveTintColor: string; indicatorStyle: StyleProp; @@ -1157,7 +1157,7 @@ declare module 'react-navigation' { showIcon?: boolean; } - export const TabBarTop: React.ComponentType; + export const MaterialTopTabBar: React.ComponentType; export const BottomTabBar: React.ComponentType; /**