2.2.0 • Published 2 years ago

react-github-contribution-calendar v2.2.0

Weekly downloads
40
License
MIT
Repository
-
Last release
2 years ago

react-github-contribution-calendar

npm version

A responsive react component for GitHub-like heatmap calendar

Demo

Demo and documents

Usage

// main.jsx
import React from 'react';
import ReactDOM from 'react-dom';
import Calendar from 'react-github-contribution-calendar';

var values = {
  '2016-06-23': 1,
  '2016-06-26': 2,
  '2016-06-27': 3,
  '2016-06-28': 4,
  '2016-06-29': 4
}
var until = '2016-06-30';

var elem = document.getElementById('app');
ReactDOM.render(<Calendar values={values} until={until} />, elem);

Install

npm i react-github-contribution-calendar --save

Licence

MIT

Author

haripo

2.2.0

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.0

5 years ago

1.0.0

6 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago