mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-17 15:09:31 +00:00
Merge pull request #3298 from rickyltwong/feat/threads-button
增加 Threads Social & Share button
This commit is contained in:
@@ -37,6 +37,8 @@ import {
|
||||
TumblrShareButton,
|
||||
TwitterIcon,
|
||||
TwitterShareButton,
|
||||
ThreadsIcon,
|
||||
ThreadsShareButton,
|
||||
ViberIcon,
|
||||
ViberShareButton,
|
||||
VKIcon,
|
||||
@@ -312,6 +314,16 @@ const ShareButtons = ({ post }) => {
|
||||
<HatenaIcon size={32} round />
|
||||
</HatenaShareButton>
|
||||
)
|
||||
case 'threads':
|
||||
return (
|
||||
<ThreadsShareButton
|
||||
key={singleService}
|
||||
url={shareUrl}
|
||||
title={titleWithSiteInfo}
|
||||
className='mx-1'>
|
||||
<ThreadsIcon size={32} round />
|
||||
</ThreadsShareButton>
|
||||
)
|
||||
case 'qq':
|
||||
return (
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user