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