mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add TODOs to unify component names between JS - Android - iOS - C++
Summary: EZ diff that adds a few TODOs to unify component names between JS - Android - iOS - C++ see task: T97384889 changelog: [internal] internal Reviewed By: sammy-SC Differential Revision: D30139942 fbshipit-source-id: 91f51d04e7e7ecba7f059f94a121be43d820647d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
55f504a0be
commit
cf717ffc19
@@ -14,15 +14,15 @@ import java.util.Map;
|
||||
/**
|
||||
* Utility class for Fabric components, this will be removed
|
||||
*
|
||||
* <p>//TODO T31905686: remove this class when the component names are unified between JS - Android
|
||||
* - iOS - C++
|
||||
* <p>TODO T97384889: remove this class when the component names are unified between JS - Android -
|
||||
* iOS - C++
|
||||
*/
|
||||
public class FabricComponents {
|
||||
|
||||
private static @NonNull final Map<String, String> sComponentNames = new HashMap<>();
|
||||
|
||||
static {
|
||||
// TODO T31905686: unify component names between JS - Android - iOS - C++
|
||||
// TODO T97384889: unify component names between JS - Android - iOS - C++
|
||||
sComponentNames.put("View", "RCTView");
|
||||
sComponentNames.put("Image", "RCTImageView");
|
||||
sComponentNames.put("ScrollView", "RCTScrollView");
|
||||
|
||||
Reference in New Issue
Block a user