1.3.0 • Published 2 years ago

@s-ui/sui-share-social-media-buttons-group v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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.