Skip to content

Commit

Permalink
chore: share text (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnsonMao authored Oct 2, 2024
1 parent d0e3abb commit 948b9a1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions components/Group/detail/ShareButtonGroup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ import {
const StyledShareButtonGroup = styled.div`
display: flex;
gap: 0.25rem;
align-items: center;
.share-text {
font-size: 14px;
color: #536166;
}
`;

export default function ShareButtonGroup({ title, text, url, hashtag }) {
Expand All @@ -28,6 +34,7 @@ export default function ShareButtonGroup({ title, text, url, hashtag }) {

return (
<StyledShareButtonGroup>
<span className="share-text">分享至</span>
<IconButton size="small" onClick={facebookShare}>
<FaSquareFacebook fill="#1877F2" />
</IconButton>
Expand Down

0 comments on commit 948b9a1

Please sign in to comment.