1 contributor
Like
Install repo-info-issues as a package?
Copied
npm i @bit/giladshoham.github-graphql.react.repo-info-issues
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
chevron_left
chevron_right
react/repoInfoIssues ()
A react component which shows issues list of a github repository.
import RepoInfoWithData from '@bit/giladshoham.github-graphql.react.repo-info-issues';
<RepoInfoWithData owner="ownerName" name="repoName"/>
Properties
Name | Type | Description |
---|---|---|
ownerName | String | the name of the repository owner |
repoName | String | the name of the repository |
Test Summary
#RepoInfoWithData() should throw an error if ownerName not provided | Pass |
#RepoInfoWithData() should throw an error if name not provided | Pass |
#RepoInfoWithData() should render stars counter | Pass |
#RepoInfoWithData() should render forks counter | Pass |
#RepoInfoWithData() should render last updated | Pass |
#RepoInfoWithData() should render issues list | Pass |