Skip to content

Commit

Permalink
link PanResponder documentation to Event documentation (facebook#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgny authored and MoOx committed May 30, 2019
1 parent 87ba1df commit b364f2e
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions reason-react-native/src/apis/PanResponder.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,7 @@ handlers are extended to also depend upon the `gestureState`.
## Types

### `Event.pressEvent`
`Event.pressEvent` is `Event.syntheticEvent(pressEventPayload)` where the
`nativeEvent` key is recursively specified as:

```reason
type pressEventPayload = {
.
"changedTouches": array(pressEventPayload),
"force": float,
"identifier": int,
"locationX": float,
"locationY": float,
"pageX": float,
"pageY": float,
"target": Js.Nullable.t(float),
"timestamp": float,
"touches": array(pressEventPayload),
}
```
see [`Event`](../Event/#pressEvent)

### `gestureState`
`gestureState` contains additional information on the state of the \_Gesture
Expand Down

0 comments on commit b364f2e

Please sign in to comment.