Skip to content

gillstrom/deku-share

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Social media share link components for deku

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published