@@ -250,6 +250,7 @@ class BootstrapTable extends Component {
250
250
onMouseLeave = { this . handleMouseLeave } >
251
251
< TableHeader
252
252
ref = 'header'
253
+ tableHeaderClass = { this . props . tableHeaderClass }
253
254
style = { this . props . headerStyle }
254
255
rowSelectType = { this . props . selectRow . mode }
255
256
hideSelectColumn = { this . props . selectRow . hideSelectColumn }
@@ -265,6 +266,7 @@ class BootstrapTable extends Component {
265
266
{ this . props . children }
266
267
</ TableHeader >
267
268
< TableBody ref = 'body'
269
+ tableBodyClass = { this . props . tableBodyClass }
268
270
style = { { ...style , ...this . props . bodyStyle } }
269
271
data = { this . state . data }
270
272
columns = { columns }
@@ -911,6 +913,8 @@ BootstrapTable.propTypes = {
911
913
containerStyle : PropTypes . object ,
912
914
headerStyle : PropTypes . object ,
913
915
bodyStyle : PropTypes . object ,
916
+ tableHeaderClass : PropTypes . string ,
917
+ tableBodyClass : PropTypes . string ,
914
918
options : PropTypes . shape ( {
915
919
clearSearch : PropTypes . bool ,
916
920
sortName : PropTypes . string ,
@@ -993,6 +997,8 @@ BootstrapTable.defaultProps = {
993
997
containerStyle : undefined ,
994
998
headerStyle : undefined ,
995
999
bodyStyle : undefined ,
1000
+ tableHeaderClass : null ,
1001
+ tableBodyClass : null ,
996
1002
options : {
997
1003
clearSearch : false ,
998
1004
sortName : undefined ,
0 commit comments