0.0.2 • Published 9 years ago

socialbuttons v0.0.2

Weekly downloads
3
License
ISC
Repository
github
Last release
9 years ago

#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

	<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

0.0.2

9 years ago

0.0.1

9 years ago