diff --git a/ReactCommon/react/renderer/components/view/ViewProps.cpp b/ReactCommon/react/renderer/components/view/ViewProps.cpp index 0e1a9976793907..1f6dfc06c39fbc 100644 --- a/ReactCommon/react/renderer/components/view/ViewProps.cpp +++ b/ReactCommon/react/renderer/components/view/ViewProps.cpp @@ -125,6 +125,24 @@ ViewProps::ViewProps( "onLayout", sourceProps.onLayout, {})), + pointerEnter(convertRawProp( + context, + rawProps, + "pointerenter", + sourceProps.pointerEnter, + {})), + pointerLeave(convertRawProp( + context, + rawProps, + "pointerleave", + sourceProps.pointerLeave, + {})), + pointerMove(convertRawProp( + context, + rawProps, + "pointermove", + sourceProps.pointerMove, + {})), collapsable(convertRawProp( context, rawProps, diff --git a/ReactCommon/react/renderer/components/view/ViewProps.h b/ReactCommon/react/renderer/components/view/ViewProps.h index b66249a6915c2c..558105face731e 100644 --- a/ReactCommon/react/renderer/components/view/ViewProps.h +++ b/ReactCommon/react/renderer/components/view/ViewProps.h @@ -61,6 +61,12 @@ class ViewProps : public YogaStylableProps, public AccessibilityProps { EdgeInsets hitSlop{}; bool onLayout{}; + bool pointerEnter{}; + + bool pointerLeave{}; + + bool pointerMove{}; + bool collapsable{true}; bool removeClippedSubviews{false};