dfosco / react-goodshare-components

🍰 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.

Home Page:https://react-goodshare-components.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-goodshare-components logo

react-goodshare-components [WIP, you can help now!]

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-components — create new issue.


Your assistance will help make project even better!

Thanks for supporting!


License

The MIT License (MIT)

About

🍰 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.

https://react-goodshare-components.netlify.com/

License:MIT License


Languages

Language:JavaScript 98.6%Language:HTML 1.4%