1.0.0 • Published 7 years ago

react-contributions v1.0.0

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

react-contributions Build Status

React component to show your contributions calendar.

Features

  • Get GitHub's contributions calendar
  • Collaboration with articles data of Qiita
  • Specifiable a duration to show
  • Changable the calendar's color

Usage

import React, { Component } from 'react';
import Contributions from 'react-contributions';

const COLORS = [
  '#eee',
  '#80e8ff',
  '#66b9cc',
  '#4c8b99',
  '#335c66'
]

class App extends Component {
  render() {
    return (
      <div className="App">
        <Contributions GitHub="s4kr4" Qiita="s4kr4" to="2017-09-12" colors={COLORS} />
      </div>
    );
  }
}

API

PropsEffects
GitHub (Required)GitHub's username
QiitaQiita's username
toThe last day of the duration
colorsArray of Hex color code

LICENSE

MIT