Native view manager event types exposed to JS via view config

Differential Revision: D5814210

fbshipit-source-id: 41291f0d6b39af77f66173f6a699d88f9f4ccc74
This commit is contained in:
Brian Vaughn authored and Facebook Github Bot committed 2017-09-14 18:17:17 -07:00
1 parent e9780bdc0f
commit 75c94a8907
9 files changed
+121 -624

No files matched your search

@@ -68,6 +68,15 @@ import com.facebook.react.uimanager.events.TouchEventType;
"onTouchEnd",
"captured",
"onTouchEndCapture")))
.put(
TouchEventType.CANCEL.getJSEventName(),
MapBuilder.of(
"phasedRegistrationNames",
MapBuilder.of(
"bubbled",
"onTouchCancel",
"captured",
"onTouchCancelCapture")))
.build();
}