#import #import "RNNComponentOptions.h" #import "RNNReactView.h" @protocol RNNRootViewCreator - (RNNReactView*)createRootView:(NSString*)name rootViewId:(NSString*)rootViewId reactViewReadyBlock:(RNNReactViewReadyCompletionBlock)reactViewReadyBlock; - (UIView*)createRootViewFromComponentOptions:(RNNComponentOptions*)componentOptions; - (UIView*)createRootViewFromComponentOptions:(RNNComponentOptions*)componentOptions reactViewReadyBlock:(RNNReactViewReadyCompletionBlock)reactViewReadyBlock; @end