code: function componentDidMount() {
          var _this2 = this;
  
          Object.keys(renamedProps).forEach(function (prop) {
            if (prop in _this2.props) {
              console.warn(warningMessage({
                componentName: getComponentName(WrappedComponent),
                prop: prop,
                renamedProps: renamedProps
              }));
            }
          });
        }
docs: warn on deprecated props