Add pressColor to StackNavigator header options (#926)

* Add pressColor to StackNavigator header options

* Rename pressColor -> pressColorAndroid for StackNavigator
This commit is contained in:
Jamie Parkinson
2017-04-07 17:02:43 +01:00
committed by Eric Vicenti
parent 297470099d
commit 31c538413e
4 changed files with 21 additions and 4 deletions

View File

@@ -126,7 +126,8 @@ All `navigationOptions` for the `StackNavigator`:
- `style` - Style object for the header
- `titleStyle` - Style object for the title component
- `tintColor` - Tint color for the header
- `cardStack` - a config object for the card stack:
- `pressColorAndroid` - Color for material ripple (Android >= 5.0 only)
- `cardStack` - a config object for the card stack:
- `gesturesEnabled` - Whether you can use gestures to dismiss this screen. Defaults to true on iOS, false on Android
### Navigator Props