react-native-navigation的迁移库

RNNComponentViewCreator.h 604B

12345678910111213141516171819202122
  1. #import <UIKit/UIKit.h>
  2. #import "RNNComponentOptions.h"
  3. #import "RNNReactView.h"
  4. #import "RNNReactButtonView.h"
  5. #import "RNNReactTitleView.h"
  6. #import "RNNReactBackgroundView.h"
  7. typedef enum RNNComponentType {
  8. RNNComponentTypeComponent,
  9. RNNComponentTypeTopBarTitle,
  10. RNNComponentTypeTopBarButton,
  11. RNNComponentTypeTopBarBackground
  12. } RNNComponentType;
  13. @protocol RNNComponentViewCreator
  14. - (RNNReactView*)createRootView:(NSString*)name rootViewId:(NSString*)rootViewId ofType:(RNNComponentType)componentType reactViewReadyBlock:(RNNReactViewReadyCompletionBlock)reactViewReadyBlock;
  15. @end