Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-line-social

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-line-social

Line Social Plugins in React

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
23
decreased by-71.25%
Maintainers
1
Weekly downloads
 
Created
Source

react-line-social

Line social plugins in React.

Demo

Install

npm install react-line-social --save

Usage

import { Share, Friend, Like } from 'react-line-social';

// Or cherry-pick import.
import Share from 'react-line-social/share';
import Friend from 'react-line-social/friend';
import Like from 'react-line-social/like';

<Share />
<Share type='share-b' />

<Friend lineid="@lineteamjp" />
<Friend lineid="@lineteamjp" count />
<Friend lineid="@lineteamjp" home />
<Friend lineid="@lineteamjp" count home />

<Like />
<Like share />
<Like lineid="@lineteamjp" />

Props

Share
  • style - Object.
  • className - String.
  • locale - 'en' | 'ja' | 'zh-TW' | 'th' | 'id'. Defaut: zh-TW.
  • type - 'share-a' | 'share-b' | 'share-c' | 'share-d' | 'share-e'. Defaut: share-a.
  • url - String. Default: window.location.href.
Friend
  • style - Object.
  • className - String.
  • lineid - String. Required.
  • locale - 'en' | 'ja' | 'zh-TW' | 'th' | 'id'. Defaut: zh-TW.
  • count - Boolean.
  • home - Boolean.
Like
  • style - Object.
  • className - String.
  • lineid - String.
  • locale - 'en' | 'ja' | 'zh-TW' | 'th' | 'id'. Defaut: zh-TW.
  • share - Boolean.
  • url - String. Default: window.location.href.

License

MIT. See LICENSE.md for details.

Keywords

FAQs

Package last updated on 05 Oct 2017

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