Add additional column's renderers in TreeTable HOC (#1029)

Pass Expander, PivotValue and Pivot renderers to to column constructor in TreeTable HOC
This commit is contained in:
Krzysztof Kaczmarczyk 2018-10-04 22:37:45 +02:00 committed by Tanner Linsley
parent f50b0a47cf
commit 76fde77b0f

View File

@ -56,6 +56,9 @@ export default Component => {
width: `${treeTableIndent}px`,
show: false,
Header: '',
Expander: col.Expander,
PivotValue: col.PivotValue,
Pivot: col.Pivot,
}
}
return column