ZYSzys / react-sharing

:earth_asia: Simple react social media sharing.

Home Page:https://zyszys.github.io/react-sharing/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-sharing

NPM version Travis CI NPM downloads NPM downloads David Status license PRs Welcome

Simple react social media sharing.

Install

# use yarn
yarn add react-sharing

# or use npm
npm install react-sharing

Usage

import Sharing from 'react-sharing';

<Sharing
  sites = {[ "qzone", "weibo", "qq", "tencent", "douban" ]}
  url = "https://github.com/ZYSzys/react-sharing"
  title = "react-sharing"
  description = "Simple react social media sharing."
/>

Props

Common props you may want to specify include:

  • url: PropTypes.string
  • title: PropTypes.string
  • description: PropTypes.string
  • sites: PropTypes.array
  • summary: PropTypes.string

Thanks

License

MIT.

About

:earth_asia: Simple react social media sharing.

https://zyszys.github.io/react-sharing/

License:MIT License


Languages

Language:JavaScript 63.0%Language:CSS 27.7%Language:HTML 9.3%