code: function createComponentType(config) {
      // config is already normalized
  
      let ret;
  
      const propsAdjuster = createPropsAdjuster(config);
  
      if (config.render) {
          ret = props => config.render(propsAdjuster(props, config));
          ret.displayName = config.displayName;
      } else {
          ret = deriveReactComponent(config);
      }
  
      return ret;
  }
docs: ------------------------------------------------------------------