Add MaskedView to LegacyViewManagerInterop white list

Summary:
For components to be used with LegacyViewManagerInterop they need to be added to a white list.
This makes it possible to test it out and assure proper functionality.

Changelog: [Internal]

Reviewed By: shergin

Differential Revision: D17906107

fbshipit-source-id: 60ee99e6b973ba2d6fe804f3c99e492603d3cf8f
This commit is contained in:
Samuel Susla
2019-10-16 04:26:44 -07:00
committed by Facebook Github Bot
parent 5327c3ed83
commit 0d1b9b5397
@@ -39,7 +39,7 @@ using namespace facebook::react;
+ (BOOL)isSupported:(NSString *)componentName
{
static NSSet<NSString *> *supportedComponents =
[NSSet setWithObjects:@"Picker", @"DatePicker", @"ProgressView", @"SegmentedControl", nil];
[NSSet setWithObjects:@"Picker", @"DatePicker", @"ProgressView", @"SegmentedControl", @"MaskedView", nil];
return [supportedComponents containsObject:componentName];
}