summaryrefslogtreecommitdiff
path: root/src/components/repository-list/index.js
diff options
context:
space:
mode:
authorKamran Ahmed <kamranahmed.se@gmail.com>2018-08-27 23:14:08 +0500
committerKamran Ahmed <kamranahmed.se@gmail.com>2018-08-27 23:14:08 +0500
commit16873dad5bc3989a5cef561bdc31c9ddcda63029 (patch)
treeb1000a759765ba606055364f911c7fc46874920b /src/components/repository-list/index.js
parentAdd dynamic group headings (diff)
downloadgithunt-16873dad5bc3989a5cef561bdc31c9ddcda63029.tar.gz
Load next batch and group headings
Diffstat (limited to '')
-rw-r--r--src/components/repository-list/index.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/components/repository-list/index.js b/src/components/repository-list/index.js
index be6cc76..862df11 100644
--- a/src/components/repository-list/index.js
+++ b/src/components/repository-list/index.js
@@ -15,7 +15,11 @@ class RepositoryList extends React.Component {
if (counter !== 0) {
groupHeading = (
<div className="row row-group">
- <GroupHeading/>
+ <GroupHeading
+ start={ repositoryGroup.start }
+ end={ repositoryGroup.end }
+ dateJump={ this.props.dateJump }
+ />
</div>
);
}
@@ -47,7 +51,8 @@ class RepositoryList extends React.Component {
}
RepositoryGrid.propTypes = {
- repositories: PropTypes.array.isRequired
+ repositories: PropTypes.array.isRequired,
+ dateJump: PropTypes.string.isRequired
};
export default RepositoryList;