mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Undo breaking change in ReactPointerEventsView due to Kotlin conversion (#49233)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49233 I'm converting the function inside ReactPointerEventsView from `fun` to `val`. This Kotlin conversion resulted in a breakign change for Kotlin consumer which I believe can be prevented if we do this change instead. Changelog: [Internal] [Changed] - Reviewed By: alanleedev Differential Revision: D69252562 fbshipit-source-id: b277c6720f3156ed532bf5f2253d54cd72e38050
This commit is contained in:
committed by
Fabrizio Cucci
parent
9468ac632d
commit
80726279d8
+2
-2
@@ -13,6 +13,6 @@ package com.facebook.react.uimanager
|
||||
*/
|
||||
public interface ReactPointerEventsView {
|
||||
|
||||
/** Return the PointerEvents of the View. */
|
||||
public fun getPointerEvents(): PointerEvents
|
||||
/** The PointerEvents of the View. */
|
||||
public val pointerEvents: PointerEvents
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user