This is the link to a tutorial made after reading the concepts of this new version, that is currently in on it 15th release candidate
ReactTableInfinite.propTypes = {
// Same as the previous versions
columns: PropTypes.array.isRequired,
// Same as the previous versions
data: PropTypes.array.isRequired,
// function that receives an json { startIndex, stopIndex }
// this is meant to load more data and add it to the data prop
loadMoreRows: PropTypes.func.isRequired,
// the row count
rowCount: PropTypes.func.isRequired,
// height of the reac-table body by default it will be 800px
height: PropTypes.number
};
ReactTable.propTypes = {
// Same as the previous versions
columns: PropTypes.array.isRequired,
// Same as the previous versions
data: PropTypes.array.isRequired,
// Function that renders a subcomponent,
// in this case it is receiving a json containing a row, feel free to modify it
renderRowSubComponent: PropTypes.func,
// Indicates if the table row has a subcomponent. By default false
// if it is true, renderRowSubComponent should be defined
isExpandable: PropTypes.bool
};