to allow composition of the Header component when using a custom header
component, styling is probably one of the options you want to have.
For example, I need to dynamicly change the height of the header based
on scroll position, and without this change I have to inherit from the
Header component and copy the render function, instead of composing the
Header component in my own component.
If you attempt to use something other than a string, it will throw an error in some situations. #1318 provides more details about the error. If it is expecting a certain type, the docs should clarify that.
* add headerBackTitleStyle screen option
since the title is customizable, the back title should too.
* add documentation for `headerBackTitleStyle`
* make absence of headerBackTitle not affect return value
* merge styles so current scene can override
If there's no last scene, return the `headerBackTitleStyle` from the
current scene.
Otherwise return the `headerTitleStyle` from the last scene, and the
`headerBackTitleStyle` from the current scene, with the latter having
precedence.
* take headerBackTitleStyle from current scene
also the title style of the last scene is no longer taken into account
* Implement getPathAndParamsForState for StackRouter
* Add test to make sure `params` is correct in getPathAndParamsForState of StackRouter
* chore: fix flow
* Fix Modal Gestures
* Update StackNavigator.md for gesturesEnabled to include modals again
* Remove modal gesture todo
* Gesture response distance top, side => vertical, horizontal
* [ReduxExample] Programmatically generate initial state
* [ReduxExample] Return original state if nextState is null
* [Docs] Add getStateForAction to redux integration example
* [Docs] Add link to ReduxExample app
* [Docs] Give each example a 'DRY' README linking to real docs
* [Docs] Clean up the Contributors guide a bit
* [Docs] Remove numbers from sections in Contributors guide
They don't seem very meaningful, and don't need to be done in order
* Force the back button to be recognized as such by screen readers.
* Update HeaderBackButton.js
* Update HeaderBackButton.js
* Update HeaderBackButton.js
* Format remaining issues
* [Example] Get tests passing on ReduxExample and NavigationPlayground
* [CI] Use more vague versioning so we're always up to date
* [CI] Test that the example apps run without error
* [CI] Install the current local version of react-nav before testing
* Fix tabs => spaces in ReduxExample/package.json
* Remove LinkingExample entirely
It's now part of NavigationPlayground.
* [Example] Upgrade dependencies to fix the ReduxExample app
* [Example] Also upgrade and fix the LinkingExample app
* [Example] Update MainApplication.java to fix Android API