Add support for custom header transitions (#3075)

* Add support for custom header transitions

* Use default props for header transition default values
This commit is contained in:
Axel Eirola
2017-12-14 23:14:38 +02:00
committed by Vojtech Novak
parent 928f632c89
commit 363f93fc4d
5 changed files with 33 additions and 3 deletions

View File

@@ -222,3 +222,5 @@ const ModalNavigator = StackNavigator(
}
);
```
Header transitions can also be configured using `headerLeftInterpolator`, `headerTitleInterpolator` and `headerRightInterpolator` fields under `transitionConfig`.