Skip to content

s4kr4/react-contributions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Props Effects
GitHub (Required) GitHub's username
Qiita Qiita's username
to The last day of the duration
colors Array of Hex color code

LICENSE

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published