diff --git a/packages/react-navigation/CHANGELOG.md b/packages/react-navigation/CHANGELOG.md index 4802d234..625dcb6a 100644 --- a/packages/react-navigation/CHANGELOG.md +++ b/packages/react-navigation/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## Fixes - Fix `navigationOptions` type from `NavigationScreenProp` to `NavigationScreenConfig`. - Fix missing `isFirstRouteInParent` type in typescript and flow. +- Add missing `backTitleVisible` for typescript, `disabled` and `backTitleVisible` for flow definitions in type `HeaderBackButtonProps` ## [3.11.0] diff --git a/packages/react-navigation/flow/react-navigation.js b/packages/react-navigation/flow/react-navigation.js index e057a12c..bd148983 100644 --- a/packages/react-navigation/flow/react-navigation.js +++ b/packages/react-navigation/flow/react-navigation.js @@ -1129,6 +1129,8 @@ declare module 'react-navigation' { tintColor?: ?string, truncatedTitle?: ?string, width?: ?number, + disabled?: boolean, + backTitleVisible?: boolean, }; declare export var HeaderBackButton: React$ComponentType<_HeaderBackButtonProps>; diff --git a/packages/react-navigation/typescript/react-navigation.d.ts b/packages/react-navigation/typescript/react-navigation.d.ts index 21860f94..7de7e1be 100644 --- a/packages/react-navigation/typescript/react-navigation.d.ts +++ b/packages/react-navigation/typescript/react-navigation.d.ts @@ -1397,6 +1397,7 @@ declare module 'react-navigation' { truncatedTitle?: string; width?: number; disabled?: boolean; + backTitleVisible?: boolean; } export const HeaderBackButton: React.ComponentClass;