react-goodshare-components

0.2.1 • Public • Published

react-goodshare-components logo

react-goodshare-components

npm version react js site license

React.js components for social share. A simple way to share a link on the pages of your website in the most popular (and not so) social networks. Powered by goodshare.js project.

Features

React-ready™ components, simple install, extensive documentation, developer support, SEO friendly, many options for customization of appearance, clean code without scripts tracking user activity on the page, high speed.

Beautiful button design already included. Just open documentation, copy-paste and save!

We're using Flow: A Static Type Checker for JavaScript.

Documentation

Requirements

  • React >= 16.x
  • React DOM >= 16.x

Install

$ npm i --save react-goodshare-components

Usage

Schema for name of React goodshare.js components:

  • <...>Button — full styled component (include styles, share button and counter)
  • <...>ShareLink — only share link (include share link without any styles)
  • <...>ShareCounter — only share counter (include share counter without any styles)

Where <...> is the name of social network or messenger (first letter is capital, of course). For example, if you're want to render Facebook social network all-in-one button (with share link, counter and awesome styles):

import { FacebookButton } from "react-goodshare-components";
 
<FacebookButton />;

react-goodshare-components facebook

import { FacebookButton } from "react-goodshare-components";
 
<FacebookButton buttonTheme="outlined" />
<FacebookButton buttonTheme="gradient" />

react-goodshare-components facebook

Author & maintainers

Development and maintenance engaged by Vic Shóstak (aka Koddr). If you want to say «thank you» and/or ask me about react-goodshare-componentscreate new issue.


Your assistance will help make project even better!

Thanks for supporting!


License

The MIT License (MIT)

Package Sidebar

Install

npm i react-goodshare-components

Weekly Downloads

2

Version

0.2.1

License

MIT

Unpacked Size

23.3 kB

Total Files

8

Last publish

Collaborators

  • vikkyshostak