mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
19f58f4935
Summary: Allow components outside of React-Native core to be registered with LegacyViewManagerInterop changelog: [Internal] Reviewed By: fkgozali Differential Revision: D17912238 fbshipit-source-id: 67a9109c427c5e3efb8ebb6c6f8c13c2931461a3
26 lines
608 B
Objective-C
26 lines
608 B
Objective-C
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import <React/RCTViewComponentView.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface RCTLegacyViewManagerInteropComponentView : RCTViewComponentView
|
|
|
|
/**
|
|
Returns true for components that are supported by LegacyViewManagerInterop layer, false otherwise.
|
|
*/
|
|
+ (BOOL)isSupported:(NSString *)componentName;
|
|
|
|
+ (void)supportLegacyViewManagerWithName:(NSString *)componentName;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|