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:
Nicola Corti
2025-02-10 14:58:55 +00:00
committed by Fabrizio Cucci
parent 9468ac632d
commit 80726279d8
@@ -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
}