From c2e23bfd2d6c4796e1d5c3978ce29465303ba35f 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 e2a0c1ecb7ca5f..dffc98b80302a2 100644 --- a/packages/react-native/Libraries/AppDelegate/RCTRootViewFactory.h +++ b/packages/react-native/Libraries/AppDelegate/RCTRootViewFactory.h @@ -120,6 +120,10 @@ typedef RCTBridge *_Nonnull ( - (UIView *_Nonnull)viewWithModuleName:(NSString *)moduleName; +#pragma mark - RCTRootViewFactory Helpers + +- (RCTHost *)createReactHost; + @end NS_ASSUME_NONNULL_END