Skip to content

Commit 4f0812c

Browse files
Svartocomputerjazz
andauthored
Added dragHitSlop prop to README (#232)
Updated README to reflect the addition of dragHitSlop prop Co-authored-by: Daniel Merrill <[email protected]>
1 parent fcaa9d4 commit 4f0812c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ All props are spread onto underlying [FlatList](https://facebook.github.io/react
5050
| `onScrollOffsetChange` | `(offset: number) => void` | Called with scroll offset. Stand-in for `onScroll`. |
5151
| `onPlaceholderIndexChange` | `(index: number) => void` | Called when the index of the placeholder changes |
5252
| `dragItemOverflow` | `boolean` | If true, dragged item follows finger beyond list boundary. |
53-
| `debug` | `boolean` | A useful prop used to debug this component. It will log warnings and errors and also a component to debug its animation. |
53+
| `dragHitSlop` | `object: {top: number, left: number, bottom: number, right: number}` | Enables control over what part of the connected view area can be used to begin recognizing the gesture. Numbers need to be non-positive (only possible to reduce responsive area).|
54+
| `debug` | `boolean` | Enables debug logging and animation debugger. |
55+
5456

5557
## Example
5658

0 commit comments

Comments
 (0)