react-native-navigation的迁移库

RNNReactView.h 673B

123456789101112131415161718
  1. #import <React/RCTRootView.h>
  2. #import <React/RCTRootViewDelegate.h>
  3. typedef void (^RNNReactViewReadyCompletionBlock)(void);
  4. @interface RNNReactView : RCTRootView <RCTRootViewDelegate>
  5. - (instancetype)initWithBridge:(RCTBridge *)bridge moduleName:(NSString *)moduleName initialProperties:(NSDictionary *)initialProperties reactViewReadyBlock:(RNNReactViewReadyCompletionBlock)reactViewReadyBlock;
  6. @property (nonatomic, copy) void (^rootViewDidChangeIntrinsicSize)(CGSize intrinsicSize);
  7. @property (nonatomic, copy) RNNReactViewReadyCompletionBlock reactViewReadyBlock;
  8. - (void)setAlignment:(NSString *)alignment inFrame:(CGRect)frame;
  9. - (NSString *)componentId;
  10. @end