mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-11 22:33:32 +08:00
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:
committed by
Ashoat Tevosyan
parent
faed4731bc
commit
41b587ca65
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user