react-github:React的一组有用的Github组件

时间:2021-02-03 14:04:39
【文件属性】:
文件名称:react-github:React的一组有用的Github组件
文件大小:259KB
文件格式:ZIP
更新时间:2021-02-03 14:04:39
github react github-api react-component GitHubAPIJavaScript Reactgithub react-github是由ES6和ES7编写的Github的一组react组件。 这是一个在制品,将添加更多组件。 安装 您可以通过npm安装此软件包: npm install react-github --save 组件 Github个人资料 呈现一个简单的Github用户个人资料框,其中包含有关该用户的一些有用信息。 import React , { Component } from 'react' ; import { GithubProfile } from 'react-github' ; class Test extends Component { render ( ) { return ( < div> < GithubProfile xss=removed> < / div > ) ; } } 物产 用户名:Github用户名 className :呈现组件的根元素的定制自定义CSS类 Github存储库 呈现一个带有一些详细信息的存储库信息框。
【文件预览】:
react-github-master
----.eslintrc(190B)
----webpack.config.js(1012B)
----src()
--------components()
----.babelrc(85B)
----examples()
--------index.html(245B)
--------app.js(699B)
--------bundle.js(961KB)
----.travis.yml(52B)
----LICENSE(1KB)
----test()
--------GithubProfile-test.js(403B)
--------.dom-mock.js(267B)
--------setup.js(123B)
--------GithubRepository-test.js(459B)
--------index.js(84B)
----README.md(3KB)
----screenshots()
--------GithubProfile.png(28KB)
--------GithubRepository.png(15KB)
----.gitignore(44B)
----index.js(240B)
----package.json(2KB)

网友评论