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

    Install

    npm i socialbuttons

    DownloadsWeekly Downloads

    1

    Version

    0.0.2

    License

    ISC

    Last publish

    Collaborators

    • zackify