mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2025-10-16 11:55:39 +00:00
Condensed now takes bootstrap4 into consideration (#653)
This commit is contained in:
parent
3f21a67620
commit
b79dbc80f6
@ -45,6 +45,7 @@ class BootstrapTable extends PropsBaseResolver(Component) {
|
||||
tabIndexCell,
|
||||
id,
|
||||
classes,
|
||||
bootstrap4,
|
||||
striped,
|
||||
hover,
|
||||
bordered,
|
||||
@ -66,7 +67,7 @@ class BootstrapTable extends PropsBaseResolver(Component) {
|
||||
'table-striped': striped,
|
||||
'table-hover': hover,
|
||||
'table-bordered': bordered,
|
||||
'table-condensed': condensed
|
||||
[(bootstrap4 ? 'table-sm' : 'table-condensed')]: condensed
|
||||
}, classes);
|
||||
|
||||
const tableCaption = (caption && <Caption>{ caption }</Caption>);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user