Enable configuration of gesture direction (#3077)

* Enable configuration of gesture direction

* Fix documentation and code style

* Invert behaviour of I18nManager.isRTL instead of overriding
This commit is contained in:
Axel Eirola
2017-12-18 23:25:16 +02:00
committed by Ashoat Tevosyan
parent faed4731bc
commit 41b587ca65
3 changed files with 22 additions and 7 deletions

View File

@@ -158,6 +158,10 @@ Object to override the distance of touch start from the edge of the screen to re
- `horizontal` - *number* - Distance for horizontal direction. Defaults to 25.
- `vertical` - *number* - Distance for vertical direction. Defaults to 135.
#### `gestureDirection`
String to override the direction for dismiss gesture. `default` for normal behaviour or `inverted` for right-to-left swipes.
### Navigator Props
The navigator component created by `StackNavigator(...)` takes the following props: