From cfec590f6ab71fe8a29790f8a72b5a86ed0bf965 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Wed, 8 Jan 2025 16:15:58 -0800 Subject: [PATCH] Defining constant'types for API stability (#48546) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/48546 Defining constant'types for API stability changelog: [internal] internal Reviewed By: shwanton Differential Revision: D67953794 fbshipit-source-id: 7f833d1999340a6a4073f3eb303251c52d9d6fc6 --- .../com/facebook/react/uimanager/ViewProps.kt | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewProps.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewProps.kt index 7fee329d696f0b..1e882c2a28ac87 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewProps.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewProps.kt @@ -168,18 +168,18 @@ public object ViewProps { /** Used to locate views in end-to-end (UI) tests. */ public const val TEST_ID: String = "testID" public const val NATIVE_ID: String = "nativeID" - internal const val ON_POINTER_ENTER = "onPointerEnter" - internal const val ON_POINTER_ENTER_CAPTURE = "onPointerEnterCapture" - internal const val ON_POINTER_OVER = "onPointerOver" - internal const val ON_POINTER_OVER_CAPTURE = "onPointerOverCapture" - internal const val ON_POINTER_OUT = "onPointerOut" - internal const val ON_POINTER_OUT_CAPTURE = "onPointerOutCapture" - internal const val ON_POINTER_LEAVE = "onPointerLeave" - internal const val ON_POINTER_LEAVE_CAPTURE = "onPointerLeaveCapture" - internal const val ON_POINTER_MOVE = "onPointerMove" - internal const val ON_POINTER_MOVE_CAPTURE = "onPointerMoveCapture" - internal const val ON_CLICK = "onClick" - internal const val ON_CLICK_CAPTURE = "onClickCapture" + internal const val ON_POINTER_ENTER: String = "onPointerEnter" + internal const val ON_POINTER_ENTER_CAPTURE: String = "onPointerEnterCapture" + internal const val ON_POINTER_OVER: String = "onPointerOver" + internal const val ON_POINTER_OVER_CAPTURE: String = "onPointerOverCapture" + internal const val ON_POINTER_OUT: String = "onPointerOut" + internal const val ON_POINTER_OUT_CAPTURE: String = "onPointerOutCapture" + internal const val ON_POINTER_LEAVE: String = "onPointerLeave" + internal const val ON_POINTER_LEAVE_CAPTURE: String = "onPointerLeaveCapture" + internal const val ON_POINTER_MOVE: String = "onPointerMove" + internal const val ON_POINTER_MOVE_CAPTURE: String = "onPointerMoveCapture" + internal const val ON_CLICK: String = "onClick" + internal const val ON_CLICK_CAPTURE: String = "onClickCapture" @JvmField public val BORDER_SPACING_TYPES: IntArray = intArrayOf(