Share Button Links - React
Installation
You can install using npm install share-button-links-react
or yarn add share-button-links-react
.
Usage
Buttons
Import button components: import { ButtonFacebook } from 'share-button-links-react/components/buttons';
All options: ButtonCopy, ButtonEmail, ButtonFacebook, ButtonLinkedIn, ButtonPinterest, ButtonPocket, ButtonReddit, ButtonTumblr, ButtonTwitter, and ButtonWhatsapp
.
Icon Buttons
Import icon button components: import { FacebookIcon } from 'share-button-links-react/components/icons';
All options: FacebookIcon, WhatsappIcon, TelegramIcon, TwitterIcon, LinkedInIcon, RedditIcon, PinterestIcon, TumblrIcon, PocketIcon, EmailIcon, CopyIcon
.
Button Group
Import button group component: import ButtonGroup from 'share-button-links-react/components/button-group';
All options: facebookIcon, whatsappIcon, telegramIcon, twitterIcon, linkedInIcon, redditIcon, pinterestIcon, tumblrIcon, pocketIcon, emailIcon, and copyIcon
.
Import CSS/SCSS
To import the CSS or SCSS just add: @import 'share-button-links-react/main.css';
or @import 'share-button-links-react/main.scss';
.