diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ComponentNameResolver.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ComponentNameResolver.kt similarity index 71% rename from packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ComponentNameResolver.java rename to packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ComponentNameResolver.kt index fb9d15de29746a..df8bda2749927b 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ComponentNameResolver.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ComponentNameResolver.kt @@ -5,13 +5,12 @@ * LICENSE file in the root directory of this source tree. */ -package com.facebook.react.uimanager; +package com.facebook.react.uimanager -import com.facebook.proguard.annotations.DoNotStripAny; +import com.facebook.proguard.annotations.DoNotStripAny @DoNotStripAny public interface ComponentNameResolver { - /* returns a list of all the component names that are registered in React Native. */ - String[] getComponentNames(); + public val componentNames: Array? }