Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gillstrom/deku-share

Social media share link components for deku
https://github.com/gillstrom/deku-share

deku

Last synced: 3 months ago
JSON representation

Social media share link components for deku

Awesome Lists containing this project

README

        

# deku-share [![Build Status](https://travis-ci.org/gillstrom/deku-share.svg?branch=master)](https://travis-ci.org/gillstrom/deku-share)

> Social media share link components for deku

## Install

```
$ npm install --save deku-share
```

## Usage

```js
import {Facebook, Twitter} from 'deku-share';

export function render() {
return (



Share on Facebook


Share on Twitter


);
}
```

## Components

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

* [Facebook](https://github.com/vinkla/awesome-share-links#facebook)
* [GooglePlus](https://github.com/vinkla/awesome-share-links#google-plus)
* [LinkedIn](https://github.com/vinkla/awesome-share-links#linked-in)
* [Pinterest](https://github.com/vinkla/awesome-share-links#pinterest)
* [Reddit](https://github.com/vinkla/awesome-share-links#reddit)
* [StumbleUpon](https://github.com/vinkla/awesome-share-links#stumbleupon)
* [Twitter](https://github.com/vinkla/awesome-share-links#twitter)

## License

MIT © [Andreas Gillström](http://github.com/gillstrom)