1/* 2 * Copyright (c) Meta Platforms, Inc. and affiliates. 3 * 4 * This source code is licensed under the MIT license found in the 5 * LICENSE file in the root directory of this source tree. 6 */ 7 8#import "ABI47_0_0RCTWrapperABI47_0_0ReactRootViewManager.h" 9 10#import <ABI47_0_0RCTWrapper/ABI47_0_0RCTWrapperView.h> 11#import <ABI47_0_0RCTWrapper/ABI47_0_0RCTWrapperViewControllerHostingView.h> 12 13#import "ABI47_0_0RCTWrapperABI47_0_0ReactRootViewController.h" 14 15@implementation ABI47_0_0RCTWrapperABI47_0_0ReactRootViewManager 16 17ABI47_0_0RCT_EXPORT_MODULE() 18 19- (UIView *)view 20{ 21 ABI47_0_0RCTWrapperViewControllerHostingView *contentViewControllerHostingView = 22 [ABI47_0_0RCTWrapperViewControllerHostingView new]; 23 24 contentViewControllerHostingView.contentViewController = 25 [[ABI47_0_0RCTWrapperABI47_0_0ReactRootViewController alloc] initWithBridge:self.bridge]; 26 27 ABI47_0_0RCTWrapperView *wrapperView = [super view]; 28 wrapperView.contentView = contentViewControllerHostingView; 29 return wrapperView; 30} 31 32@end 33