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 "ABI48_0_0RCTWrapperABI48_0_0ReactRootViewManager.h"
9
10#import <ABI48_0_0RCTWrapper/ABI48_0_0RCTWrapperView.h>
11#import <ABI48_0_0RCTWrapper/ABI48_0_0RCTWrapperViewControllerHostingView.h>
12
13#import "ABI48_0_0RCTWrapperABI48_0_0ReactRootViewController.h"
14
15@implementation ABI48_0_0RCTWrapperABI48_0_0ReactRootViewManager
16
17ABI48_0_0RCT_EXPORT_MODULE()
18
19- (UIView *)view
20{
21  ABI48_0_0RCTWrapperViewControllerHostingView *contentViewControllerHostingView = [ABI48_0_0RCTWrapperViewControllerHostingView new];
22
23  contentViewControllerHostingView.contentViewController =
24      [[ABI48_0_0RCTWrapperABI48_0_0ReactRootViewController alloc] initWithBridge:self.bridge];
25
26  ABI48_0_0RCTWrapperView *wrapperView = [super view];
27  wrapperView.contentView = contentViewControllerHostingView;
28  return wrapperView;
29}
30
31@end
32