Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5618342

Browse files
committedMay 19, 2017
fix #1327, expandrow broken
1 parent 47ed157 commit 5618342

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
 

‎src/ExpandComponent.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@ import classSet from 'classnames';
66
class ExpandComponent extends Component {
77

88
render() {
9-
const { selectRow, isSelected, className, row } = this.props;
10-
const selectRowClass = typeof selectRow.className === 'function' ?
11-
selectRow.className(row, isSelected) : ( isSelected ? selectRow.className : null);
9+
const { className } = this.props;
1210
const trCss = {
1311
style: {
1412
backgroundColor: this.props.bgColor
1513
},
16-
className: classSet(selectRowClass, className)
14+
className: classSet(className)
1715
};
1816
return (
1917
<tr hidden={ this.props.hidden } width={ this.props.width } { ...trCss }>

0 commit comments

Comments
 (0)
Please sign in to comment.