react-github-badge
v0.4.0
Published
Draggable react drawer
Downloads
22
Maintainers
Readme
react-github-badge
Install
$ npm install react-github-badge --save
Usage
import GithubBadge from 'react-github-badge'
..
render () {
return (
<GithubBadge
title='Star on Github'
url='https://github.com/hanford/react-github-badge'
/>
)
}
API
| Param | Type | functionality | required | |----------------|---------|-----------------|-----------------| | title | String | title for button | true | | url | String | url to navigate to on click | true |
MIT © Jack Hanford