New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-share-follow

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-share-follow

React component for Share and Follow on social networks

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
decreased by-6.67%
Maintainers
0
Weekly downloads
 
Created
Source

React Social Share & Follow

A beautiful React component for Share and Follow on social networks

Example

Example use of react-share-follow

Installation

yarn add react-share-follow  # or: npm install react-share-follow

Syntax

import { SocialShareAndFollow } from 'react-share-follow'
import 'react-share-follow/dist/SocialShareAndFollow.css'

<SocialShareAndFollow
  url='https://www.mysite.com/'
  title='My title'
  description='My description'
  labelShare='Share this article'
  labelFollow='Follow me for more cool stuff'
  iconColor='black'
  buttonColor='lightgray'
  share={{
    copy: true,
    email: true,
    sms: true,
    facebook: true,
    linkedin: true,
    pinterest: true,
    reddit: true,
    threads: true,
    twitter: true
  }}
  follow={{
    email: () => window.prompt('Customize this action to collect email'),
    web: 'https://www.tomsoderlund.com/',
    instagram: 'tomsoderlund',
    linkedin: 'in/tomsoderlund',
    threads: 'tomsoderlund',
    tiktok: 'tomsoderlund',
    twitter: 'tomsoderlund'
  }}
  onShare={({ message }) => window.alert(message)}
/>

How to build and publish a new NPM package

yarn publish  # yarn prepare (Babel) will be run automatically

FAQs

Package last updated on 24 Sep 2024

Did you know?

Socket

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.

Install

Related posts

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