Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@ta-interaktiv/react-share-buttons

ta-interaktiv96ISC4.3.2TypeScript support: included

Renders a collection of social sharing buttons.

react, component, social, sharing

readme

React Share Buttons

Renders a collection of social sharing buttons.

Installation

yarn add @ta-interaktiv/react-share-buttons

Usage

import React from 'react'
import ShareButtons, { displayTypes } from '@ta-interaktiv/react-share-buttons'

//...

class YourComponent extends React.Component {
  render() {
    return (
      <ShareButtons
        hashtags={['TAGrafik', 'ddj']}
        displayType={displayTypes.HORIZONTAL_ICONS}
      />
    )
  }
}

Documentation

Can be found here.