react-github-button@0.1.11

Unofficial GitHub buttons in React.

require('react-github-button/assets/style.css');

const React = require('react');
const ReactDOM = require('react-dom');
const GitHubButton = require('react-github-button');

ReactDOM.render(
  <div style={{ marginLeft: 10 }}>
    <GitHubButton type="stargazers" size="large"
      namespace="benjycui" repo="react-github-button"
    />
    <br /><br />
    <GitHubButton type="watchers" style={{ color: 'red' }}
      namespace="benjycui" repo="react-github-button"
    />
    <br /><br />
    <GitHubButton className="hallo" type="forks"
      namespace="benjycui" repo="react-github-button"
    />
    <br /><br />
  </div>,
  document.getElementById('__react-content')
);
Fork me on GitHub