File tree Expand file tree Collapse file tree 5 files changed +5
-4
lines changed
packages/react-bootstrap-table2
test/row-selection/__snapshots__ Expand file tree Collapse file tree 5 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export default class ExpandCell extends Component {
4444 if ( tabIndex !== - 1 ) attrs . tabIndex = tabIndex ;
4545
4646 return (
47- < td onClick = { this . handleClick } { ...attrs } >
47+ < td className = "expand-cell" onClick = { this . handleClick } { ...attrs } >
4848 {
4949 expandColumnRenderer ? expandColumnRenderer ( {
5050 expandable,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export default class ExpansionHeaderCell extends Component {
2828 } ;
2929
3030 return (
31- < th data-row-selection { ...attrs } >
31+ < th className = "expand-cell-header" data-row-selection { ...attrs } >
3232 {
3333 expandHeaderColumnRenderer ?
3434 expandHeaderColumnRenderer ( { isAnyExpands } ) :
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export default class SelectionCell extends Component {
8686 < BootstrapContext . Consumer >
8787 {
8888 ( { bootstrap4 } ) => (
89- < td onClick = { this . handleClick } { ...attrs } >
89+ < td className = "selection-cell" onClick = { this . handleClick } { ...attrs } >
9090 {
9191 selectionRenderer ? selectionRenderer ( {
9292 mode : inputType ,
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ export default class SelectionHeaderCell extends Component {
112112 ) ;
113113 }
114114 return (
115- < th data-row-selection { ...attrs } > { content } </ th >
115+ < th className = "selection-cell-header" data-row-selection { ...attrs } > { content } </ th >
116116 ) ;
117117 }
118118 }
Original file line number Diff line number Diff line change 22
33exports [` <SelectionCell /> render should render component correctly 1` ] = `
44<td
5+ className = " selection-cell"
56 onClick = { [Function ]}
67>
78 <input
You can’t perform that action at this time.
0 commit comments