url = 'https://chat.pipk.top/githubReport/<userName>';const GithubReport = props => (
<div className="github-report">
<Github {...props} />
</div>
);
// router
<Route path="/githubReport/:name" component={GithubReport} />| Name | Name | Last commit date | ||
|---|---|---|---|---|
url = 'https://chat.pipk.top/githubReport/<userName>';const GithubReport = props => (
<div className="github-report">
<Github {...props} />
</div>
);
// router
<Route path="/githubReport/:name" component={GithubReport} />