mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook Github Bot
parent
5327c3ed83
commit
0d1b9b5397
+1
-1
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user