react-native-navigation的迁移库

RNNLayoutInfo.m 385B

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