* Fixes #186

* Solved lint error
This commit is contained in:
Parth Prajapati
2018-03-04 16:05:10 +08:00
committed by AllenFang
parent 096799c403
commit 931cf80450
+3 -1
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 }