在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:mamal72/react-github开源软件地址:https://github.com/mamal72/react-github开源编程语言:JavaScript 78.5%开源软件介绍:react-githubreact-github is a set of react components for Github written by ES6 and ES7. It's a WIP and more components will be added. InstallationYou can install this package via npm install react-github --save ComponentsGithubProfileRenders a simple Github user profile box with some useful info about the user. import React, { Component } from 'react';
import { GithubProfile } from 'react-github';
class Test extends Component {
render() {
return (
<div>
<GithubProfile username="mamal72" />
</div>
);
}
} Properties
GithubRepositoryRenders a repository info box with some details of it. import React, { Component } from 'react';
import { GithubRepository } from 'react-github';
class Test extends Component {
render() {
return (
<div>
<GithubRepository username="mamal72" repository="react-github" />
<GithubRepository showDescription={false} username="mamal72" repository="react-github" />
<GithubRepository showName={false} username="mamal72" repository="react-github" />
<GithubRepository showUsername={false} username="mamal72" repository="react-github" />
<GithubRepository className="my-profile" username="mamal72" repository="react-github" />
</div>
);
}
} Properties
Ideas?Just fill an issue and describe it. I'll check it ASAP. :) ContributionYou can fork the repository and send the pull requests. Remember to lint your code before sending pull requests. Run the following command and fix the errors if you get any. npm run lint |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论