From 53f003f233e323f3c75ecbd833da0e5ea3a4111e Mon Sep 17 00:00:00 2001 From: Samuel Susla Date: Tue, 15 Oct 2019 03:14:12 -0700 Subject: [PATCH] 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 --- .../InteropView/RCTLegacyViewManagerInteropComponentView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React/Fabric/Mounting/ComponentViews/InteropView/RCTLegacyViewManagerInteropComponentView.mm b/React/Fabric/Mounting/ComponentViews/InteropView/RCTLegacyViewManagerInteropComponentView.mm index 3495a35a63d..da115da84be 100644 --- a/React/Fabric/Mounting/ComponentViews/InteropView/RCTLegacyViewManagerInteropComponentView.mm +++ b/React/Fabric/Mounting/ComponentViews/InteropView/RCTLegacyViewManagerInteropComponentView.mm @@ -32,7 +32,7 @@ using namespace facebook::react; + (BOOL)isSupported:(NSString *)componentName { - static NSSet *supportedComponents = [NSSet setWithObjects:@"Picker", @"DatePicker", nil]; + static NSSet *supportedComponents = [NSSet setWithObjects:@"Picker", @"DatePicker", @"ProgressView", nil]; return [supportedComponents containsObject:componentName]; }