react-native-navigation的迁移库

RNNLayoutInfo.m 264B

12345678910111213141516
  1. #import "RNNLayoutInfo.h"
  2. @implementation RNNLayoutInfo
  3. - (instancetype)initWithNode:(RNNLayoutNode *)node {
  4. self = [super init];
  5. self.componentId = node.nodeId;
  6. self.name = node.data[@"name"];
  7. self.props = node.data[@"passProps"];
  8. return self;
  9. }
  10. @end