react-github-events
v0.1.4
Published
This is a basic and light component that shows the recent public activity and events of a given GitHub user
Downloads
16
Maintainers
Readme
React GitHub Events
This is a basic and light component that shows the recent public activity and events of a given GitHub user
Presentation
The component's width is responsive, it takes the width of the parent element.
Installation
npm install react-github-events --save
Example :
import React from 'react';
import ReactDOM from 'react-dom';
import GitHubEvents from 'react-github-events';
ReactDOM.render(<GitHubEvents
username="meshredded"
gitHubToken="TokenString"
/>,
document.getElementById('root')
);
Props:
| Prop | is Required ? | Description | |---|---|---| | String : username | true | The GitHub username. | | String : gitHubToken | false | This token is not required but the number of requests is limited for unregitred clients, to get a token click here |
Issues :
For any suggestion you can open an issue here.
Licence :
MIT