Add column to getResizerProps (#667)

This commit is contained in:
Simon Angell 2017-12-13 10:09:23 +11:00 committed by Tanner Linsley
parent 928ad11a07
commit ddf877bcac

View File

@ -199,7 +199,6 @@ export default class ReactTable extends Methods(Lifecycle(Component)) {
)
const loadingProps = getLoadingProps(finalState, undefined, undefined, this)
const noDataProps = getNoDataProps(finalState, undefined, undefined, this)
const resizerProps = getResizerProps(finalState, undefined, undefined, this)
// Visual Components
@ -341,7 +340,7 @@ export default class ReactTable extends Methods(Lifecycle(Component)) {
? (<ResizerComponent
onMouseDown={e => this.resizeColumnStart(e, column, false)}
onTouchStart={e => this.resizeColumnStart(e, column, true)}
{...resizerProps}
{...getResizerProps('finalState', undefined, column, this)}
/>)
: null