Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
chrome-web-share
Advanced tools
A lightweight React Share Button for mobile web with web share api integration, native intent support and fallback
A lightweight React Share Button for mobile web with web share api integration, native intent support and fallback.
npm install --save react-share-button
To get web-share API on your origin just request a token for your origin. You will get an email within 24 hrs with you key, then just add a meta tag
<meta http-equiv="origin-trial" content="**insert your token as provided in the the email here**">
Know more about OriginTrials
JSX:
import ShareBtn from 'react-share-button';
<ShareBtn
url={url}
text={text}
className='ib'
displayText='Share'
/>
CSS
@import "react-share-button/dist/ShareBtn"
prop | default | description |
---|---|---|
className | '' | Custom classnamem, you can style your button with this |
url | '' | The URL you want to share |
text | '' | The Text before the URL (E.g. Hey checkout this awesome property!!) |
displayText | Share | Any text you wanna write on button like Share Property |
onShareBtnClick | () => {} | A callback function when share button is clicked |
sharedBy | (medium) => {console.log('shared via ', medium)} | A callback function when user clicks on any share medium from share modal |
git clone https://github.com/housinghq/react-share-button
cd react-share-button
npm install
npm run storybook
Open an issue before opening a PR. The UI in this package is for mobile only.
MIT @ Loconsolutions
FAQs
A lightweight React Share Button for mobile web with web share api integration, native intent support and fallback
The npm package chrome-web-share receives a total of 0 weekly downloads. As such, chrome-web-share popularity was classified as not popular.
We found that chrome-web-share demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.