react-native-navigation的迁移库

ReactNativeNavigation.h 413B

1234567891011121314
  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. @end