Social media share buttons and share counts for React
MIT License
Bot releases are hidden (Show)
Published by nygardk about 2 years ago
peerDependencies
Published by nygardk over 3 years ago
peerDependencies
(#379)Published by nygardk about 4 years ago
HatenaShareButton
and HatenaShareCount
Published by nygardk over 4 years ago
assert
utility to get rid of Node.js assert
dependency (MINOR BREAKING CHANGE: the error thrown is slightly different)Published by nygardk over 4 years ago
FacebookMessengerShareButton
docs are now included in the readmeVKShareCount
from colliding with an existing window.VK
objectViberShareButton
is now ' '
WhatsappIcon
green color to match with WhatsApp brandShareButton
beforeOnClick
to return void
OKShareCount
for the returned index parameter by adding a sensible fallbackPublished by nygardk over 4 years ago
TwitterShareButton
won't have hashtags as empty string (#284, #293)OKShareCount
now supports multiple different share counts per page (#289)EmailShareButton
now has default separator
correctly as ' '
(#287)WhatsappShareButton
now has default separator
correctly as ' '
TumblrShareButton
now has default posttype
correctly as link
TwitterShareButton
now supports "related" array (#281)Published by nygardk almost 5 years ago
FacebookMessengerShareButton
and FacebookMessengerShareCount
WeiboIcon
VKShareButton
LinkedinShareButton
MailruShareButton
TumblrShareCount
FacebookShareCount
className
s have been changed{ ...rest }
props are spread to the root element for share buttons and share countsspan
element instead of div
svg
as root element instead of div
iconBgStyle
-> bgStyle
, logoFillColor
-> iconFillColor
Published by nygardk about 5 years ago
ref
on to the share buttonscomponentDidUpdate
instead of componentWillUpdate
Published by nygardk over 5 years ago
<PocketShareButton>
<InstapaperShareButton>
borderRadius
prop for iconsaria-label
is generated for the share buttons. It is based on the network name. Use additionalProps
to override.<LinkedInShareCount/>
. LinkedIn no longer provides an API to fetch share counts.title
and description
from <LinkedInShareButtons/>
.<EmailShareButton/>
includes body
before url
.<EmailShareButton/>
and <ViberShareButton/>
allow customization of separator
.<WeiboShareButton/>
no longer requires image
prop<WeiboShareButton/>
includes url correctly when shared<WeiboShareButton/>
and <OKShareButton/>
open in screen center to prevent window from jumping after openingPublished by nygardk over 5 years ago
<LineShareButton />
and <WeiboShareButton />
Published by nygardk over 5 years ago
Published by nygardk about 6 years ago
tabIndex
prop can now also be a numberPublished by nygardk about 6 years ago
<WorkplaceShareButton />
(Facebook Workplace)Published by nygardk over 6 years ago
<ViberShareButton />
name
prop in share buttonsPublished by nygardk over 6 years ago
webpack 4
tree shaking with sideEffects: false
-flag in package.json
Published by nygardk over 6 years ago
https
for TumblrShareCounturl
as the default email body (instead of subject
)beforeOnClick
also for EmailShareButtonPublished by nygardk over 6 years ago
./lib
, es-modules are built to ./es
Published by nygardk over 6 years ago
logoFillColor
is passed to the icon pathPublished by nygardk almost 7 years ago
platform
dependency and replace <=IE10 check with a utility function (thanks @aautio!)Published by nygardk almost 7 years ago