Created
October 5, 2016 12:15
-
-
Save rafayepes/0692d1bb8edcd08f92ac33c488a898d4 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
<div className="MyContainerWrapper"> | |
<InfiniteLoader | |
isRowLoaded={this._isRowLoaded} | |
loadMoreRows={this._loadMoreRows} | |
rowCount={list.length} | |
> | |
{({ onRowsRendered, registerChild }) => ( | |
<AutoSizer> | |
{({ width, height }) => ( | |
<List | |
ref={registerChild} | |
className="List page-content" | |
height={height} | |
onRowsRendered={onRowsRendered} | |
noRowsRenderer={this._noRowsRenderer} | |
rowCount={list.length} | |
rowHeight={this._getRowHeight} | |
rowRenderer={this._rowRenderer} | |
scrollToIndex={scrollToIndex} | |
width={width} | |
/> | |
)} | |
</AutoSizer> | |
)} | |
</InfiniteLoader> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment