[rn] Pass props when creating a view in RCTViewManager

This commit is contained in:
Matt Mahoney
2015-08-25 07:45:07 -07:00
parent 27a67c2434
commit 36c1064033
5 changed files with 19 additions and 5 deletions

View File

@@ -22,7 +22,7 @@
- (instancetype)initWithManager:(RCTViewManager *)manager NS_DESIGNATED_INITIALIZER;
- (id<RCTComponent>)createViewWithTag:(NSNumber *)tag;
- (id<RCTComponent>)createViewWithTag:(NSNumber *)tag props:(NSDictionary *)props;
- (RCTShadowView *)createShadowViewWithTag:(NSNumber *)tag;
- (void)setProps:(NSDictionary *)props forView:(id<RCTComponent>)view;
- (void)setProps:(NSDictionary *)props forShadowView:(RCTShadowView *)shadowView;