0.0.1 • Published 8 years ago

react-github-summary v0.0.1

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

react-github-summary

A react component to display the GitHub Summary including Profile, Activities, Contributions etc

Usage

Using from npm

To install

    npm install react-github-summary
    import React from 'react';
    import { GitHubSummary } from 'react-github-summary'

    class MyComponent extends React.Component {

        render () {
            return (
                <div>
                    <GitHubSummary username='your-username' width='200'>
                </div>
            )
        }
    }

Required props

Prop nameDescription
usernameGitHub username

Optional props

Prop nameDescription
widthThe width of the summary component.
imgWidthThe width of the avatar image
classThe additional className to add to the top level div