lib/index.js
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
            }));
          }
        });
      }
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
            }));
          }
        });
      }
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 } ) ) ; } } ) ; }
warn on deprecated props
warn on deprecated props