deku-share

1.0.6 • Public • Published

deku-share Build Status

Social media share link components for deku

Install

$ npm install --save deku-share

Usage

import {Facebook, Twitter} from 'deku-share';
 
export function render() {
    return (
        <div>
            <Facebook u="http://google.com">
                Share on Facebook
            </Facebook>
 
            <Twitter url="http://google.com" hashtags={['foo', 'bar']}>
                Share on Twitter
            </Twitter>
        </div>
    );
}

Components

All components has class, target and id as attributes.
Specific attributes can be found here:

License

MIT © Andreas Gillström

Package Sidebar

Install

npm i deku-share

Weekly Downloads

7

Version

1.0.6

License

MIT

Last publish

Collaborators

  • gillstrom