Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Condensed now takes bootstrap4 into consideration
  • Loading branch information
Yassien committed Nov 7, 2018
commit d6cd87e3051a71a6e76607a424bc577699c36767
3 changes: 2 additions & 1 deletion packages/react-bootstrap-table2/src/bootstrap-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class BootstrapTable extends PropsBaseResolver(Component) {
tabIndexCell,
id,
classes,
bootstrap4,
striped,
hover,
bordered,
Expand All @@ -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>);
Expand Down