Skip to content

Commit ca2e4af

Browse files
committed
improvement and change the default style for expand column
1 parent b6ab355 commit ca2e4af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/TableBody.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,8 @@ class TableBody extends Component {
394394
if (CustomComponent) {
395395
content = (<CustomComponent isExpandableRow={ isExpandableRow } isExpanded={ isExpanded } />);
396396
} else if (isExpandableRow) {
397-
content = (isExpanded ? '-' : '+' );
397+
content = (isExpanded ? (<span className='glyphicon glyphicon-minus'></span>) :
398+
(<span className='glyphicon glyphicon-plus'></span>) );
398399
} else {
399400
content = ' ';
400401
}

0 commit comments

Comments
 (0)