#import "RNSModalScreen.h" #ifdef RCT_NEW_ARCH_ENABLED #import #import #endif @implementation RNSModalScreen #ifdef RCT_NEW_ARCH_ENABLED + (react::ComponentDescriptorProvider)componentDescriptorProvider { return react::concreteComponentDescriptorProvider(); } #endif @end #ifdef RCT_NEW_ARCH_ENABLED Class RNSModalScreenCls(void) { return RNSModalScreen.class; } #endif @implementation RNSModalScreenManager RCT_EXPORT_MODULE() #ifdef RCT_NEW_ARCH_ENABLED #else - (UIView *)view { return [[RNSModalScreen alloc] initWithBridge:self.bridge]; } #endif // RCT_NEW_ARCH_ENABLED @end