socialbuttons

0.0.2 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i socialbuttons

Weekly Downloads

0

Version

0.0.2

License

ISC

Last publish

Collaborators

  • zackify