mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
Add pressColor to StackNavigator header options (#926)
* Add pressColor to StackNavigator header options * Rename pressColor -> pressColorAndroid for StackNavigator
This commit is contained in:
committed by
Eric Vicenti
parent
297470099d
commit
31c538413e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user