Skip to content

vaibhavhrt/react-github-buttons

Folders and files

NameName
Last commit message
Last commit date
Oct 5, 2020
Jun 15, 2019
Oct 4, 2020
Oct 4, 2020
Jun 12, 2019
Oct 4, 2020
Oct 4, 2020
Oct 4, 2020
Oct 5, 2020
Oct 4, 2020
Oct 4, 2020
Jun 11, 2019
Jun 11, 2019
Oct 4, 2020

Repository files navigation

react-github-buttons

React Components for dynamic buttons for github repo's start, fork etc.

NPM Build Status JavaScript Style Guide

Features

Provies GitHub's Star, Fork, Watch etc.(See full list below) buttons with realtime numbers of star, fork etc. as React Components.

Install

npm install --save react-github-buttons

Usage

import React from 'react';

import { Fork, Star, UsedBy, Watch } from 'react-github-buttons';

function App() {
  return (
    <div>
      <Star owner='facebook' repo='react' />
      <Fork owner='facebook' repo='react' />
      <Watch owner='facebook' repo='react' />
      <UsedBy owner='facebook' repo='react' count={2077841} />
    </div>
  )
}

Issues

Issues, bugs and feature request at github issues page


License

MIT © vaibhavhrt