You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-share

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-share - npm Package Compare versions

Comparing version

to
5.2.1

2

dist/index.d.ts

@@ -33,3 +33,3 @@ import { default as default_2 } from 'react';

export declare const EmailShareButton: default_2.ForwardRefExoticComponent<Omit<Props<Options>, "forwardedRef" | "networkLink" | "opts" | "networkName"> & Options & default_2.RefAttributes<HTMLButtonElement>>;
export declare const EmailShareButton: ForwardRefExoticComponent<Omit<Props<Options>, "forwardedRef" | "networkLink" | "opts" | "networkName"> & Options & RefAttributes<HTMLButtonElement>>;

@@ -36,0 +36,0 @@ export declare const FacebookIcon: FC<Omit<SVGProps<SVGSVGElement>, "width" | "height"> & {

@@ -283,7 +283,4 @@ var __defProp = Object.defineProperty;

openShareDialogOnClick: false,
onClick: (event) => {
const link = event.currentTarget.getAttribute("data-link");
if (link) {
window.location.href = link;
}
onClick: (_, link) => {
window.location.href = link;
}

@@ -290,0 +287,0 @@ }

{
"name": "react-share",
"version": "5.2.0",
"version": "5.2.1",
"description": "Social media share buttons and share counts for React.",

@@ -5,0 +5,0 @@ "type": "module",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet