
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
react-web-share-button
Advanced tools
Share button that is using the Web Share API with fallback for browsers that do not support it
React Share Button Component that uses the Web Share API with fallback
import ShareButton from 'react-web-share-button';
<ShareButton title="My Great Page" text="A really great page" url="http://www.greatpage.com" />
Name | Description |
---|---|
buttonText | Text or Node that is used on the Share button |
buttonStyle | Inline styles for the Button |
fallbackContainerStyles | Inline styles for the fallback container |
fallbackContainerOnShowStyles | Inline styles for the fallback container when it becames visible |
target | Where to open url in case of the fallback dialog |
fallbackButtonStyle | Inline styles for the fallback buttons |
url | Url to share |
onSuccess | Called when the share is successful, only in case where Web Share API is supported |
onError | Called when the share is not successful, only in case where Web Share API is supported |
text | Text that is used by the Web Share API |
title | Title that is used by the Web Share API |
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.