-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c0f6be
commit 074630c
Showing
15 changed files
with
33 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { LanguageBadge, IssueCountBadge, LicenseBadge } from "./Badges"; | ||
import PropTypes from "prop-types"; | ||
|
||
export const BadgePanel = (props) => { | ||
return ( | ||
<div> | ||
<LanguageBadge language={props.primaryLanguage} /> | ||
<IssueCountBadge | ||
issueCount={props.issueCount} | ||
repoLink={props.repoLink} | ||
/> | ||
<LicenseBadge license={props.license} /> | ||
</div> | ||
); | ||
}; | ||
|
||
BadgePanel.propTypes = { | ||
primaryLanguage: PropTypes.string.isRequired, | ||
issueCount: PropTypes.number.isRequired, | ||
repoLink: PropTypes.string.isRequired, | ||
license: PropTypes.string.isRequired, | ||
}; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import IssueCountBadge from "./IssueCountBadge"; | ||
import LanguageBadge from "./LanguageBadge"; | ||
import LicenseBadge from "./LicenseBadge"; | ||
|
||
export { IssueCountBadge, LanguageBadge, LicenseBadge }; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import { BadgePanel } from "./BadgePanel"; | ||
export default BadgePanel; |
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