allow rest props from getTfootProps for TfootComponent (#1035)

This commit is contained in:
Kyle Halleman
2018-10-04 15:39:48 -05:00
committed by Tanner Linsley
parent 9048835bcc
commit 41784cd52d
2 changed files with 18 additions and 26 deletions

View File

@@ -771,7 +771,7 @@ export default class ReactTable extends Methods(Lifecycle(Component)) {
}
const makeColumnFooters = () => {
const tFootProps = getTfootProps(finalState, undefined, undefined, this)
const tFootProps = _.splitProps(getTfootProps(finalState, undefined, undefined, this))
const tFootTrProps = _.splitProps(getTfootTrProps(finalState, undefined, undefined, this))
return (
<TfootComponent