Add cellInfo to onExpandedChange handler. (#1299)

This commit is contained in:
mike391 2019-04-23 17:26:10 -04:00 committed by tannerlinsley
parent 969407254f
commit afab8a34cc
2 changed files with 1 additions and 1 deletions

0
src/hoc/README.md Normal file
View File

View File

@ -537,7 +537,7 @@ export default class ReactTable extends Methods(Lifecycle(Component)) {
{
expanded: newExpanded,
},
() => onExpandedChange && onExpandedChange(newExpanded, cellInfo.nestingPath, e)
() => onExpandedChange && onExpandedChange(newExpanded, cellInfo.nestingPath, e, cellInfo)
)
}