react-share
Advanced tools
Comparing version
@@ -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
348500
-0.19%2724
-0.22%