Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-social-kr

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-social-kr - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "react-social-kr",
"version": "1.0.2",
"version": "1.0.3",
"description": "React social buttons and counts for Facebook, Pinterest, Google, Naver, KaKao etc ...",

@@ -5,0 +5,0 @@ "main": "lib/react-social.js",

@@ -7,3 +7,3 @@ # react-social-kr

> social (Facebook, Google, VKontakte, Pinterest ...) buttons and counts.
> Plus, Korean SNS supports (Naver Blog, KaKaoTalk, KaKaoStory ...)
> Plus, Korean SNS supports (Naver Blog, KaKao Talk, KaKao Story ...)

@@ -23,10 +23,14 @@ > Original Source from [react-social](https://github.com/olahol/react-social). Thanks to Ola Holmström and all contributors.

@connect(
(state, ownProps) => ({
pathname: ownProps.location.pathname
}), {})
class App extends Component {
render {
let url = "https://github.com";
const { pathname } = this.props;
return (
<FacebookButton url={url} appId={appId}>
<FacebookCount url={url} />
{" Share " + url}
<FacebookButton pathname={pathname} appId={appId}>
<FacebookCount pathname={pathname} />
{" Share " + pathname}
</FacebookButton>

@@ -61,5 +65,5 @@ );

##### url
##### pathname
The url you want to get the count of, default is `window.location`.
The pathname you want to get the count of, default is `window.location`.

@@ -105,5 +109,5 @@ ##### token

##### url
##### pathname
The url you want to share, default is `window.location`.
The pathname you want to share, default is `window.location`.

@@ -110,0 +114,0 @@ ##### target

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc