Created
October 15, 2018 14:30
-
-
Save bryzettler/45c29243a9fab7244d12a710060970d9 to your computer and use it in GitHub Desktop.
This file contains 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
{(spas.length >= 0) && ( | |
<ModelList | |
inverted | |
infiniteScroll | |
onInfiniteLoad={this.handleFetchNextPageOfSpas} | |
shouldInfiniteLoad={!onLastPaginationPage} | |
onRowClick={this.handleRowClick} | |
modelType="Spas" | |
models={spas} | |
tableRowNumbers | |
sortable | |
singleLined | |
fixed | |
tableHeaders={[ | |
{ header: 'Serial Number' }, | |
{ header: 'Brand' }, | |
{ header: 'Model' }, | |
{ header: 'Model Number' }, | |
{ header: 'Status' }, | |
{ header: 'Owners Email' }, | |
]} | |
tableCells={[ | |
{ modelKey: 'id' }, | |
{ modelKey: 'brand' }, | |
{ modelKey: 'model' }, | |
{ modelKey: 'modelNumber' }, | |
{ modelKey: 'selfTest.status' }, | |
{ modelKey: 'owner.email' }, | |
]} | |
/> | |
)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment