From b364f2ea4fa3d1c282eb44a0304e6f9108368c6b Mon Sep 17 00:00:00 2001 From: sgny <28243224+sgny@users.noreply.github.com> Date: Thu, 30 May 2019 17:56:32 +0300 Subject: [PATCH] link PanResponder documentation to Event documentation (#517) --- reason-react-native/src/apis/PanResponder.md | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/reason-react-native/src/apis/PanResponder.md b/reason-react-native/src/apis/PanResponder.md index f7a3087002d74d..69c8df47af703d 100644 --- a/reason-react-native/src/apis/PanResponder.md +++ b/reason-react-native/src/apis/PanResponder.md @@ -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