Skip to content

Commit

Permalink
feat(repository-list-item): add forks count
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 committed Sep 27, 2017
1 parent 901f9d1 commit 1fe580a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/components/repository-list-item.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,18 @@ const renderTitle = repository =>
{abbreviateNumber(repository.stargazers_count)}
</Text>

<Icon
containerStyle={styles.extraInfoIcon}
name="repo-forked"
type="octicon"
size={15}
color={colors.greyDark}
/>

<Text style={[styles.extraInfoSubject, { paddingTop: 2 }]}>
{abbreviateNumber(repository.forks_count)}
</Text>

{repository.language !== null &&
<Icon
containerStyle={styles.extraInfoIcon}
Expand Down

0 comments on commit 1fe580a

Please sign in to comment.