From 41784cd52dee46ecdeacfaa23505a90de647d5ea Mon Sep 17 00:00:00 2001 From: Kyle Halleman Date: Thu, 4 Oct 2018 15:39:48 -0500 Subject: [PATCH] allow rest props from getTfootProps for TfootComponent (#1035) --- src/index.js | 2 +- yarn.lock | 42 +++++++++++++++++------------------------- 2 files changed, 18 insertions(+), 26 deletions(-) diff --git a/src/index.js b/src/index.js index 1b24547..888b219 100644 --- a/src/index.js +++ b/src/index.js @@ -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 (