0.0.3 • Published 8 years ago

contwidgetor-ui v0.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

contwidgetor-ui

Still in development

What is it?

A simple React component to display a grid showing your open-source contributions a la github

API

Calling require('contwidgetor-ui'); makes two components available.

<NoContributionsGrid /> does not take any props and will just render a simple text. <ContributionsGrid contributions={...}/> where contributions is a JSON object.

The JSON object has items of this form:"2015-11-28": 4. The key is a date and the value being the number of contributions for this date.

Example

There is a working example in the Example folder. To run it:

cd Example
npm install
webpack
open index.html