> Inspired by [vue-github-badge](https://github.com/egoist/vue-github-badge)
npm install @sinchang/react-github-badge> Inspired by vue-github-badge


``bash`
yarn add @sinchang/react-github-badge
`react
import GithubBadge from '@sinchang/react-github-badge'
...
render () {
return (
/>
)
}
`
#### slug
Type: stringtrue
Required:
GitHub slug (owner/repo)
#### width/height
Type: number36
Default:
width/height of svg icon
#### fill
Type: stringblack
Default:
The fill color of svg icon, you can set it to currentColor to inherit from parent element.
1. Fork it!
2. Create your feature branch: git checkout -b my-new-featuregit commit -am 'Add some feature'
3. Commit your changes: git push origin my-new-feature`
4. Push to the branch:
5. Submit a pull request :D
react-github-badge © sinchang, Released under the MIT License.
Authored and maintained by sinchang with help from contributors (list).
> sinchang.me · GitHub @sinchang · Twitter @sinchangwen