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:
Samuel Susla
2019-10-15 03:16:21 -07:00
committed by Facebook Github Bot
parent 4203d24b83
commit 53f003f233
@@ -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];
}