@s-ui/sui-share-social-media-buttons-group

> Component to share in the different social medias

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@s-ui/sui-share-social-media-buttons-group
2531.2.0a year agoa year agoMinified + gzip package size for @s-ui/sui-share-social-media-buttons-group in KB

Readme

ShareSocialMediaButtonsGroup
Component to share in the different social medias

Installation

$ npm install @s-ui/sui-share-social-media-buttons-group

Usage

Basic usage

Import package and use the component

PROPS buttonsToShow: Array that contains the keys to choose which buttons to display and their order. onShare: Func to execute after share. paramsUrlString: Parameters to send to the social media url. socialMediaDictionary: Dictionary for setting the social media buttons.
import ShareSocialMediaButtonsGroup from '@s-ui/sui-share-social-media-buttons-group'

return (<ShareSocialMediaButtonsGroup />)

Import the styles (Sass)

@import '~@s-ui/theme/lib/index';
// @import 'your theme';
@import '~@s-ui/sui-share-social-media-buttons-group/lib/index';

Find full description and more examples in the demo page.