Skip to content

Commit c91a2b3

Browse files
axe-fbfacebook-github-bot
authored andcommitted
Remove view managers from @ReactModuleList
Summary: The annotation ReactModuleList that was processed by ReactModuleSpecProcessor.java does not use ViewManagers. Removing this method from the annotation so that there is no confusion on how view managers are added to individual packages. Reviewed By: achen1 Differential Revision: D9115363 fbshipit-source-id: 43d12e09b0e9b8e1732533f9a4456327778a0eaf
1 parent a70625a commit c91a2b3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ReactAndroid/src/main/java/com/facebook/react/module/annotations/ReactModuleList.java

-6
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,4 @@
2626
* @return List of Native modules in the package.
2727
*/
2828
Class<? extends NativeModule>[] nativeModules();
29-
30-
/**
31-
* The View Managers in this list should be annotated with {@link ReactModule}.
32-
* @return List of view manager in the package.
33-
*/
34-
Class<? extends NativeModule>[] viewManagers() default {};
3529
}

0 commit comments

Comments
 (0)