* Fixes #186

* Solved lint error
This commit is contained in:
Parth Prajapati
2018-02-24 20:23:52 +05:30
committed by AllenFang
parent 096799c403
commit 931cf80450

View File

@@ -70,10 +70,12 @@ class BootstrapTable extends PropsBaseResolver(Component) {
allRowsSelected: isSelectedAll(store)
});
const tableCaption = (caption && <Caption>{ caption }</Caption>);
return (
<div className="react-bootstrap-table">
<table className={ tableClass }>
<Caption>{ caption }</Caption>
{ tableCaption }
<Header
columns={ columns }
sortField={ store.sortField }