https://github.com/zyszys/react-sharing
:earth_asia: Simple react social media sharing.
https://github.com/zyszys/react-sharing
react react-component share social-media social-share
Last synced: about 1 month ago
JSON representation
:earth_asia: Simple react social media sharing.
- Host: GitHub
- URL: https://github.com/zyszys/react-sharing
- Owner: ZYSzys
- License: mit
- Created: 2019-02-16T07:30:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T20:36:01.000Z (over 1 year ago)
- Last Synced: 2024-08-14T07:03:03.304Z (10 months ago)
- Topics: react, react-component, share, social-media, social-share
- Language: JavaScript
- Homepage: https://zyszys.github.io/react-sharing/
- Size: 763 KB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-sharing
[](https://npmjs.org/package/react-sharing)
[](https://travis-ci.com/ZYSzys/react-sharing)
[](https://npmjs.org/package/react-sharing)
[](https://npmjs.org/package/react-sharing)
[](https://github.com/ZYSzys/react-sharing/network/dependencies)
[](https://github.com/ZYSzys/react-sharing/blob/master/LICENSE)
[](http://makeapullrequest.com)> Simple react social media sharing.

## Install
```sh
# use yarn
yarn add react-sharing# or use npm
npm install react-sharing
```## Usage
```js
import Sharing from 'react-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
- [share.js](https://github.com/overtrue/share.js)
- [react-share-buttons](https://github.com/DawnyWu/react-share-buttons)## License
MIT.