socialbuttons
v0.0.2
Published
React component containing Social Media Buttons
Downloads
2
Readme
#Social Buttons
This is a React component for displaying social media buttons.
Install:: npm install socialbuttons
##Finished Buttons
- Twitter
- share
##How to use
Import whichever buttons you need::
import {Twitter, Facebook} from 'socialbuttons'
<Twitter type="share" url="http://reactjsnews.com" text="this site is cool"/>
Props:
- type:
share
,follow
,hashtag
,mention
- url:
http://example.com
- text:
string
- handle:
legitcode
- cleanup:
true
will remove twitter's js when unmounting
##Contributing
Feel free to send a PR with another button. Simply create a component under /networks
Then add it to buttons.jsx