diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java b/ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java index 25579c4c292f6b..40a7227bf085d4 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java @@ -462,4 +462,19 @@ public void setBorderTopRightRadius(T view, float borderRadius) { private void logUnsupportedPropertyWarning(String propName) { FLog.w(ReactConstants.TAG, "%s doesn't support property '%s'", getName(), propName); } + + @ReactProp(name = "pointerenter") + public void setPointerEnter(@NonNull T view, @Nullable boolean value) { + view.setTag(R.id.pointer_enter, value); + } + + @ReactProp(name = "pointerleave") + public void setPointerLeave(@NonNull T view, @Nullable boolean value) { + view.setTag(R.id.pointer_leave, value); + } + + @ReactProp(name = "pointermove") + public void setPointerMove(@NonNull T view, @Nullable boolean value) { + view.setTag(R.id.pointer_move, value); + } } diff --git a/ReactAndroid/src/main/res/views/uimanager/values/ids.xml b/ReactAndroid/src/main/res/views/uimanager/values/ids.xml index 6886defd469257..8fe4be952af418 100644 --- a/ReactAndroid/src/main/res/views/uimanager/values/ids.xml +++ b/ReactAndroid/src/main/res/views/uimanager/values/ids.xml @@ -27,4 +27,12 @@ + + + + + + + +