0.1.4 • Published 7 years ago

react-github-events v0.1.4

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

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. Image of the component

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:

Propis Required ?Description
String : usernametrueThe GitHub username.
String : gitHubTokenfalseThis 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