1.0.6 • Published 10 years ago
deku-share v1.0.6
deku-share 
Social media share link components for deku
Install
$ npm install --save deku-shareUsage
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