mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add ProgressView 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. Reviewed By: shergin Differential Revision: D17905413 fbshipit-source-id: f5ab523cca6227e99a7607ca1927005392b1ae36
This commit is contained in:
committed by
Facebook Github Bot
parent
4203d24b83
commit
53f003f233
+1
-1
@@ -32,7 +32,7 @@ using namespace facebook::react;
|
||||
|
||||
+ (BOOL)isSupported:(NSString *)componentName
|
||||
{
|
||||
static NSSet<NSString *> *supportedComponents = [NSSet setWithObjects:@"Picker", @"DatePicker", nil];
|
||||
static NSSet<NSString *> *supportedComponents = [NSSet setWithObjects:@"Picker", @"DatePicker", @"ProgressView", nil];
|
||||
return [supportedComponents containsObject:componentName];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user