react-github-button
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/react-github-button package

0.1.11 • Public • Published

react-github-button

npm package NPM downloads Dependency Status

Unofficial GitHub buttons in React.

Installation

npm install --save react-github-button

Usage

import GitHubButton from 'react-github-button';
 
ReactDOM.render(
  <GitHubButton type="stargazers" size="large" namespace="benjycui" repo="react-github-button" />
  , mountNode
);

API

type

Enum{ 'stargazers', 'watchers', 'forks' }

size

Enum{ 'default', 'large' }

namespace

String

Your GitHub id or organization name.

repo

String

The name of your repository.

Liscense

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.1115,721latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.1115,721
0.1.100
0.1.90
0.1.80
0.1.70
0.1.50
0.1.41
0.1.30
0.1.20
0.1.10
0.1.00
0.1.0-beta.30
0.1.0-beta0

Package Sidebar

Install

npm i react-github-button

Weekly Downloads

15,722

Version

0.1.11

License

MIT

Last publish

Collaborators

  • benjycui