react-sharing

0.2.1 • Public • Published

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", "wechat", "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

License

MIT.

Readme

Keywords

Package Sidebar

Install

npm i react-sharing

Weekly Downloads

12

Version

0.2.1

License

MIT

Unpacked Size

65.3 kB

Total Files

4

Last publish

Collaborators

  • zyszys