* Fixes #186

* Solved lint error
This commit is contained in:
Parth Prajapati
2018-02-24 22:53:52 +08:00
committed by Allen
parent 936a82954c
commit a8083ac17d
+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 }