🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

react-ilyabirman-likely

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-ilyabirman-likely

ReactJS wrapper for Likely library

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

react-ilyabirman-likely

React wrapper for Likely library by Ilya Birman

Install

Using npm:

npm install --save react-ilyabirman-likely

Using yarn:

yarn add react-ilyabirman-likely

Usage example

import React, {Component} from 'react';
import Likely, {
  Facebook, 
  Twitter, 
  Gplus, 
  Vkontakte,
  Pinterest, 
  Odnoklassniki, 
  Telegram, 
  Linkedin
} from 'react-ilyabirman-likely'

export default class App extends Component {
  render() {
    return (
      <Likely size={'small'} skin={'light'}>
        <Facebook>Share on Facebook</Facebook>
        <Twitter via="your_twitter_account">Share on Twitter</Twitter>
        <Gplus>Share on Google Plus</Gplus>
        <Vkontakte>Share on Vkontakte</Vkontakte>
        <Pinterest media="https://example.com/image.jpg">Share on Pinterest</Pinterest>
        <Odnoklassniki>Share on Odnoklassniki</Odnoklassniki>
        <Telegram text="text example">Share on Telegram</Telegram>
        <Linkedin>Share on Linkedin</Linkedin>
      </Likely>
    )
  }
}

Using styles

CSS style published in the file dist/styles, if you want to use built-in styles, you need to include it into your project somehow. For example, if you use Webpack, and you use special loaders for css, you can do something like this:

import styles from 'react-ilyabirman-likely/dist/styles.css'

Keywords

react

FAQs

Package last updated on 30 Apr 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