Skip to content

Commit b364f2e

Browse files
sgnyMoOx
authored andcommitted
link PanResponder documentation to Event documentation (#517)
1 parent 87ba1df commit b364f2e

1 file changed

Lines changed: 1 addition & 18 deletions

File tree

‎reason-react-native/src/apis/PanResponder.md‎

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,7 @@ handlers are extended to also depend upon the `gestureState`.
1414
## Types
1515

1616
### `Event.pressEvent`
17-
`Event.pressEvent` is `Event.syntheticEvent(pressEventPayload)` where the
18-
`nativeEvent` key is recursively specified as:
19-
20-
```reason
21-
type pressEventPayload = {
22-
.
23-
"changedTouches": array(pressEventPayload),
24-
"force": float,
25-
"identifier": int,
26-
"locationX": float,
27-
"locationY": float,
28-
"pageX": float,
29-
"pageY": float,
30-
"target": Js.Nullable.t(float),
31-
"timestamp": float,
32-
"touches": array(pressEventPayload),
33-
}
34-
```
17+
see [`Event`](../Event/#pressEvent)
3518

3619
### `gestureState`
3720
`gestureState` contains additional information on the state of the \_Gesture

0 commit comments

Comments
 (0)