mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
add headerBackTitleStyle screen option (#1083)
* 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
This commit is contained in:
committed by
Mike Grabowski
parent
961cf13268
commit
c04ea5b492
@@ -128,6 +128,10 @@ Style object for the header
|
||||
|
||||
Style object for the title component
|
||||
|
||||
#### `headerBackTitleStyle`
|
||||
|
||||
Style object for the back title
|
||||
|
||||
#### `headerTintColor`
|
||||
|
||||
Tint color for the header
|
||||
|
||||
Reference in New Issue
Block a user