code: function(newProps) {
      if ("production" !== process.env.NODE_ENV) {
        var Component = ReactNativeComponent.getComponentClassForElement(
          this._currentElement
        );
        if (Component.propTypes) {
          this._checkPropTypes(
            Component.propTypes,
            newProps,
            ReactPropTypeLocations.prop
          );
        }
      }
      return newProps;
    }
docs: Processes props by setting default values for unspecified props and
  asserting that the props are valid. Does not mutate its argument; returns
  a new props object with defaults merged in.
  
  @param {object} newProps
  @return {object}
  @private