react-native-navigation的迁移库

RNNComponentLifecycleEvent.h 444B

12345678910111213141516
  1. #import "RNNNavigationEvent.h"
  2. #define kDidAppear @"didAppear"
  3. #define kDidDisappear @"didDisappear"
  4. #define kWillUnmount @"willUnmount"
  5. #define kDidMount @"didMount"
  6. typedef NSString* LifecycleEvent;
  7. @interface RNNComponentLifecycleEvent : NSObject
  8. + (instancetype)create:(LifecycleEvent)event componentName:(NSString*)componentName componentId:(NSString*)componentId;
  9. - (NSDictionary*)body;
  10. @end