Condensed now takes bootstrap4 into consideration (#653)

This commit is contained in:
Yassien 2018-11-10 09:55:54 +02:00 committed by Allen
parent 3f21a67620
commit b79dbc80f6

View File

@ -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>);