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:
David Vacca
2021-08-05 18:34:22 -07:00
committed by Facebook GitHub Bot
parent 55f504a0be
commit cf717ffc19
2 changed files with 4 additions and 3 deletions
@@ -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");