react-custom-share
Advanced tools
Comparing version 0.0.11 to 0.0.12
{ | ||
"name": "react-custom-share", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Social sharing buttons for React", | ||
@@ -28,7 +28,4 @@ "main": "dist/index.js", | ||
"license": "MIT", | ||
"homepage": "https:/github.com/greglobinski/react-custom-share#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/greglobinski/react-custom-share.git" | ||
}, | ||
"homepage": "https://github.com/greglobinski/react-custom-share#readme", | ||
"repository": "github:greglobinski/react-custom-share", | ||
"keywords": [ | ||
@@ -35,0 +32,0 @@ "react", |
# react-custom-share | ||
[![npm packgage][npm version]][nv] | ||
[![npm][npm downloads]][nd] | ||
[![GitHub stars][stars-badge]][stars] | ||
[![GitHub license][mit-badge]][mit] | ||
![contributors][contributors-badge] | ||
[![PRs Welcome][prs-badge]][prs] | ||
[![Code of Conduct][coc-badge]][coc] | ||
![travis-badge] | ||
![Tweet][twitter-badge] | ||
--- | ||
Social media share buttons for ReactJS. Use one of the built-in button themes or create a custom one from scratch. | ||
![react-custom-share](./static/react-custom-share.gif) | ||
## Features | ||
@@ -59,3 +73,3 @@ | ||
``` | ||
```javascript | ||
// import emotion | ||
@@ -73,9 +87,5 @@ import { css } from 'emotion'; | ||
// import react-custom-share components | ||
import { | ||
ShareButtonRectangle, | ||
ShareBlockStandard, | ||
} from 'react-custom-share'; | ||
import { ShareButtonRectangle, ShareBlockStandard } from 'react-custom-share'; | ||
const ShareComponent = props => { | ||
// create object with props for shareBlock | ||
@@ -102,7 +112,4 @@ const shareBlockProps = { | ||
return ( | ||
<ShareBlockStandard {...shareBlockProps} /> | ||
) | ||
} | ||
return <ShareBlockStandard {...shareBlockProps} />; | ||
}; | ||
``` | ||
@@ -159,1 +166,18 @@ | ||
SOFTWARE. | ||
[travis-badge]: https://img.shields.io/travis/greglobinski/common-last-names.svg | ||
[mit-badge]: https://img.shields.io/github/license/greglobinski/common-last-names.svg | ||
[mit]: https://github.com/greglobinski/common-last-names/blob/master/LICENSE | ||
[twitter]: https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2Fgreglobinski%2Freact-custom-share | ||
[twitter-badge]: https://img.shields.io/twitter/url/https/github.com/greglobinski/react-custom-share.svg?style=social | ||
[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square | ||
[coc]: https://github.com/greglobinski/react-custom-share/blob/master/CODE_OF_CONDUCT.md | ||
[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square | ||
[prs]: http://makeapullrequest.com | ||
[contributors-badge]: https://img.shields.io/github/contributors/greglobinski/react-custom-share.svg | ||
[npm downloads]: https://img.shields.io/npm/dt/react-custom-share.svg | ||
[nd]: https://www.npmjs.com/package/react-custom-share | ||
[npm version]: https://badge.fury.io/js/react-custom-share.svg | ||
[nv]: https://badge.fury.io/js/react-custom-share | ||
[stars-badge]: https://img.shields.io/github/stars/greglobinski/react-custom-share.svg | ||
[stars]: https://github.com/greglobinski/react-custom-share/stargazers |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44684
180
3