GitXplorerGitXplorer
Z

react-sharing

public
7 stars
3 forks
1 issues

Commits

List of commits on branch master.
Unverified
5b24fc3c1e0ec3781f66d15812c1275232b5a80f

chore: update README

ZZYSzys committed 6 years ago
Unverified
2528487a9ca92724769ed18b316f260b0a8af65d

chore: remove wechat from README

ZZYSzys committed 6 years ago
Unverified
288b1a72390261c49f4800a7ee114691b9d9e6d0

0.2.1

ZZYSzys committed 6 years ago
Verified
d3858062f23768ef24c5cde23089197512a4d83a

chore: ignore yarn.lock (#5)

ZZYSzys committed 6 years ago
Unverified
666771f3624d2e18db0dc11c4f3d6c9eb1d09ce3

0.2.0

ZZYSzys committed 6 years ago
Verified
7901ff5d097619c7ddd9723dfce5faf0aee2d4c5

feat: add summary support (#4)

ZZYSzys committed 6 years ago

README

The README file for this repository.

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.