Created
November 15, 2016 13:12
-
-
Save AllenFang/19556ac2b26f478f98c64d90fe0eda0c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class LeftSearchPanel extends React.Component { | |
| render() { | |
| const options = { | |
| searchPosition: 'left' // right or left | |
| }; | |
| return ( | |
| <BootstrapTable data={ products } | |
| options={ options } | |
| search> | |
| <TableHeaderColumn dataField='id' isKey={ true }>Product ID</TableHeaderColumn> | |
| <TableHeaderColumn dataField='name'>Product Name</TableHeaderColumn> | |
| <TableHeaderColumn dataField='price'>Product Price</TableHeaderColumn> | |
| </BootstrapTable> | |
| ); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment