Skip to content

hzeghari/react-github-buttons-hzeghari

Repository files navigation

react-github-buttons

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

NPM Build Status

Features

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

Install

yarn add react-github-buttons-hzeghari

or

npm i react-github-buttons-hzeghari

Usage

import React from 'react';

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

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 © hzeghari

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published