react-native-navigation的迁移库

ReactNativeNavigation.h 442B

12345678910111213141516
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. #import <React/RCTBridge.h>
  4. typedef UIViewController * (^RNNExternalViewCreator)(NSDictionary* props, RCTBridge* bridge);
  5. @interface ReactNativeNavigation : NSObject
  6. + (void)bootstrap:(NSURL *)jsCodeLocation launchOptions:(NSDictionary *)launchOptions;
  7. + (void)registerExternalComponent:(NSString *)name callback:(RNNExternalViewCreator)callback;
  8. + (RCTBridge *)getBridge;
  9. @end