add flexscroller

This commit is contained in:
pengfei.zhou
2020-04-11 11:02:51 +08:00
committed by osborn
parent 6bcc6d014c
commit 4e537eed47
20 changed files with 685 additions and 24 deletions

View File

@@ -53,6 +53,7 @@
#import "DoricSwitchNode.h"
#import "DoricNotchPlugin.h"
#import "DoricFlexNode.h"
#import "DoricFlexScrollerNode.h"
@interface DoricLibraries : NSObject
@property(nonatomic, strong) NSMutableSet <DoricLibrary *> *libraries;
@@ -141,6 +142,7 @@ - (void)innerRegister {
[self registerViewNode:DoricDraggableNode.class withName:@"Draggable"];
[self registerViewNode:DoricSwitchNode.class withName:@"Switch"];
[self registerViewNode:DoricFlexNode.class withName:@"FlexLayout"];
[self registerViewNode:DoricFlexScrollerNode.class withName:@"FlexScroller"];
}
- (void)registerJSBundle:(NSString *)bundle withName:(NSString *)name {