mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-07-04 16:10:03 +00:00
patch docs, example and test for wrapperClasses
This commit is contained in:
@@ -33,6 +33,7 @@ const columns = [{
|
||||
|
||||
<BootstrapTable id="bar" keyField='id' data={ products } columns={ columns } />
|
||||
<BootstrapTable classes="foo" keyField='id' data={ products } columns={ columns } />
|
||||
<BootstrapTable wrapperClasses="boo" keyField="id" data={ products } columns={ columns } />
|
||||
`;
|
||||
|
||||
export default () => (
|
||||
@@ -43,6 +44,9 @@ export default () => (
|
||||
<h4> Customized table className </h4>
|
||||
<BootstrapTable classes="foo" keyField="id" data={ products } columns={ columns } />
|
||||
|
||||
<h4> Customized wrapper className </h4>
|
||||
<BootstrapTable wrapperClasses="boo" keyField="id" data={ products } columns={ columns } />
|
||||
|
||||
<Code>{ sourceCode }</Code>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user