mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-29 12:55:21 +08:00
Issue-5701: TabBarBottom -> BottomTabBar in type definitions (#5702)
* Issue-5701: TabBarBottom -> BottomTabBar in type definitions * BottomTabBar changelog update
This commit is contained in:
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
- fixed types for `BottomTabBar`
|
||||||
|
|
||||||
## Changed
|
## Changed
|
||||||
|
|
||||||
- Updated react-native-gesture-handler to ~3.1.0
|
- Updated react-native-gesture-handler to ~3.1.0
|
||||||
|
|||||||
@@ -1200,7 +1200,7 @@ declare module 'react-navigation' {
|
|||||||
};
|
};
|
||||||
declare export var TabBarTop: React$ComponentType<_TabBarTopProps>;
|
declare export var TabBarTop: React$ComponentType<_TabBarTopProps>;
|
||||||
|
|
||||||
declare type _TabBarBottomProps = {
|
declare type _BottomTabBarProps = {
|
||||||
activeTintColor: string,
|
activeTintColor: string,
|
||||||
activeBackgroundColor: string,
|
activeBackgroundColor: string,
|
||||||
adaptive?: boolean,
|
adaptive?: boolean,
|
||||||
@@ -1229,7 +1229,7 @@ declare module 'react-navigation' {
|
|||||||
tabStyle?: ViewStyleProp,
|
tabStyle?: ViewStyleProp,
|
||||||
showIcon?: boolean,
|
showIcon?: boolean,
|
||||||
};
|
};
|
||||||
declare export var TabBarBottom: React$ComponentType<_TabBarBottomProps>;
|
declare export var BottomTabBar: React$ComponentType<_BottomTabBarProps>;
|
||||||
|
|
||||||
declare export function withNavigation<
|
declare export function withNavigation<
|
||||||
Props: {},
|
Props: {},
|
||||||
|
|||||||
@@ -1102,7 +1102,7 @@ declare module 'react-navigation' {
|
|||||||
iconStyle?: ViewStyle;
|
iconStyle?: ViewStyle;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface TabBarBottomProps {
|
export interface BottomTabBarProps {
|
||||||
activeTintColor: string;
|
activeTintColor: string;
|
||||||
activeBackgroundColor: string;
|
activeBackgroundColor: string;
|
||||||
adaptive?: boolean;
|
adaptive?: boolean;
|
||||||
@@ -1132,7 +1132,7 @@ declare module 'react-navigation' {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const TabBarTop: React.ComponentType<TabBarTopProps>;
|
export const TabBarTop: React.ComponentType<TabBarTopProps>;
|
||||||
export const TabBarBottom: React.ComponentType<TabBarBottomProps>;
|
export const BottomTabBar: React.ComponentType<BottomTabBarProps>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NavigationActions
|
* NavigationActions
|
||||||
|
|||||||
Reference in New Issue
Block a user