code: function (component, ref, owner) {
  	    !ReactOwner.isValidOwner(owner) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component\'s `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).') : _prodInvariant('119') : void 0;
  	    owner.attachRef(ref, component);
  	  }
docs: Adds a component by ref to an owner component.
  
  @param {ReactComponent} component Component to reference.
  @param {string} ref Name by which to refer to the component.
  @param {ReactOwner} owner Component on which to record the ref.
  @final
  @internal