Skip to content
A lightweight React component to display a graph of Github contributions
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
.babelrc
.gitattributes
.gitignore
.npmignore
LICENSE
README.md
package.json
webpack.config.js
yarn.lock

README.md

react-github-graph

React Github Graph Sample

Purpose

React Github Graph is a lightweight React component that displays Github contributions for a given user.

Installation

npm install react-github-graph --save

or

yarn add react-github-graph

Usage

import React from "react";
import { GithubContributions } from "react-github-graph"

class Page extends React.Component {

	//...
	render() {
		return (
			<GithubContributions username="{your username here}"></GithubContributions>
		)
	}

}

Notes

Currently depends on the following resources:

If one of these resources is unavailable, the component will not be able to load and will hide itself

You can’t perform that action at this time.