Skip to content

Latest commit

 

History

History
172 lines (152 loc) · 4.15 KB

File metadata and controls

172 lines (152 loc) · 4.15 KB

author Node.js Version

to generate a GitHub report

url = 'https://chat.pipk.top/githubReport/<userName>';

1.just use it as your react component

you can input it while your router change

const GithubReport = props => (
  <div className="github-report">
    <Github {...props} />
  </div>
);

// router 
<Route path="/githubReport/:name" component={GithubReport} />