Skip to content

Commit 7d7d843

Browse files
mdvaccameta-codesync[bot]
authored andcommitted
Add KDoc documentation to ComponentNameResolver interface (#54348)
Summary: Pull Request resolved: #54348 Added comprehensive KDoc documentation to the ComponentNameResolver interface and its property providing access to registered component names. changelog: [internal] internal Reviewed By: lenaic Differential Revision: D85926887 fbshipit-source-id: ae12629e27f88555c7876d3343a146b1b5c3dec0
1 parent 89bcc02 commit 7d7d843

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ComponentNameResolver.kt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,18 @@ package com.facebook.react.uimanager
99

1010
import com.facebook.proguard.annotations.DoNotStripAny
1111

12+
/**
13+
* Interface for resolving component names registered in React Native.
14+
*
15+
* This interface provides access to all registered component names in the React Native runtime,
16+
* which is useful for debugging and inspection purposes.
17+
*/
1218
@DoNotStripAny
1319
internal interface ComponentNameResolver {
14-
/* returns a list of all the component names that are registered in React Native. */
20+
/**
21+
* Gets the list of all component names registered in React Native.
22+
*
23+
* @return An array of all registered component names
24+
*/
1525
val componentNames: Array<String>
1626
}

0 commit comments

Comments
 (0)