mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
674609757b
Summary: Changelog: [Internal][iOS] Minor: Rename RCTNotAllowedInAppWideFabric to RCTNotAllowedInFabricWithoutLegacy `RCTNewArchitectureValidationPlaceholder(RCTNotAllowedInBridgeless` is to track Bridge APIs that are okay in Fabric but not in Bridgeless. `RCTNewArchitectureValidationPlaceholder(RCTNotAllowedInFabricWithoutLegacy` is to track legacy APIs that should not exist if the app was using Fabric **without any legacy architecture**. e.g. RCTBridgeModule, legacy interop view components. Reviewed By: fkgozali Differential Revision: D37659105 fbshipit-source-id: aee4e083820e83a8dac19eb3b5efc49b37d90039
27 lines
625 B
Objective-C
27 lines
625 B
Objective-C
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import "RCTMaskedViewManager.h"
|
|
|
|
#import "RCTMaskedView.h"
|
|
#import "RCTUIManager.h"
|
|
|
|
@implementation RCTMaskedViewManager
|
|
|
|
RCT_EXPORT_MODULE()
|
|
|
|
- (UIView *)view
|
|
{
|
|
RCTNewArchitectureValidationPlaceholder(
|
|
RCTNotAllowedInFabricWithoutLegacy,
|
|
self,
|
|
@"This native component is still using the legacy interop layer -- please migrate it to use a Fabric specific implementation.");
|
|
return [RCTMaskedView new];
|
|
}
|
|
|
|
@end
|