123456789101112131415161718192021 |
- #import <Foundation/Foundation.h>
- #import "RNNReactView.h"
- #import "RNNComponentOptions.h"
- #import "RNNComponentViewCreator.h"
-
- @interface RNNReactComponentRegistry : NSObject
-
- - (instancetype)initWithCreator:(id<RNNComponentViewCreator>)creator;
-
- - (RNNReactView *)createComponentIfNotExists:(RNNComponentOptions *)component parentComponentId:(NSString *)parentComponentId reactViewReadyBlock:(RNNReactViewReadyCompletionBlock)reactViewReadyBlock;
-
- - (void)removeComponent:(NSString *)componentId;
-
- - (void)removeChildComponent:(NSString *)childId;
-
- - (void)clearComponentsForParentId:(NSString *)parentComponentId;
-
- - (void)clear;
-
- @end
|