title: Warning: Unknown event handler property `onHeaderClick`. It will be ignored
body: <p>I am creating Higher order components for passing some props with another component. But getting the warning for Unknown event handler property.</p>
  
  <pre><code> export class TableHeaderRow extends React.PureComponent{
       render() {
              const customCell = WrappedCellComponent(Cell,this.props.onHeaderClick, this.props.isMasterChecked, this.props.onTableCheckBoxselection);
              return (
                    &lt;TableHeaderRowBase
                          cellComponent={customCell}
                          rowComponent={Row}
                          contentComponent={Content}
                          titleComponent={Title}
                          showSortingControls={true}
                          sortLabelComponent={this.props.sortLabelComponent}
                          groupButtonComponent={(data: any) : any =&gt; null}
                          showGroupingControls={false}
                          {...this.props}
                      /&gt;
              )
          }
      }
  
  const WrappedCellComponent = (WrappedComponent, onHeaderClick,checkIfMasterChecked, onTableCheckBoxSelection) =&gt; {
  
      class HOC extends React.Component {
          render() {
              return &lt;WrappedComponent 
                      {...this.props}  
                      onHeaderClick={onHeaderClick} 
                      onTableCheckBoxSelection={onTableCheckBoxSelection}  
                      checkIfMasterChecked={checkIfMasterChecked} 
                     /&gt;;
  
          }
      }
      return HOC;
  };
  </code></pre>
  
  <p>Events are working, but I am getting error in chrome devTool (i.e. Warning: Unknown event handler property <code>onTableCheckBoxSelection</code>. It will be ignored.) </p>