From f4c2b1aea310e46fd326537378b81e7e470189a9 Mon Sep 17 00:00:00 2001 From: Kudo Chien Date: Wed, 10 Apr 2024 22:40:15 +0800 Subject: [PATCH] expose createReactHost in header --- .../react-native/Libraries/AppDelegate/RCTRootViewFactory.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/react-native/Libraries/AppDelegate/RCTRootViewFactory.h b/packages/react-native/Libraries/AppDelegate/RCTRootViewFactory.h index 5d8a27588a36e9..c8f946c7a50877 100644 --- a/packages/react-native/Libraries/AppDelegate/RCTRootViewFactory.h +++ b/packages/react-native/Libraries/AppDelegate/RCTRootViewFactory.h @@ -170,6 +170,10 @@ typedef BOOL (^RCTBridgeDidNotFindModuleBlock)(RCTBridge *bridge, NSString *modu - (UIView *_Nonnull)viewWithModuleName:(NSString *)moduleName; +#pragma mark - RCTRootViewFactory Helpers + +- (RCTHost *)createReactHost; + @end NS_ASSUME_NONNULL_END