MCPcopy Create free account
hub / github.com/Siglave/copy-paste-css / ShareBlock

Function ShareBlock

frontend/ShareBlock.jsx:23–56  ·  view source on GitHub ↗
({ title, url })

Source from the content-addressed store, hash-verified

21`
22
23export default function ShareBlock({ title, url }) {
24 return (
25 <ShareBlockStyled>
26 <TwitterShareButton
27 title={title}
28 url={url}
29 style={{ height: "36px", marginBottom: "8px", borderRadius: "50%", display: 'block', boxShadow: "0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)" }}
30 >
31 <TwitterIcon size={36} round />
32 </TwitterShareButton>
33 <FacebookShareButton
34 title={title}
35 url={url}
36 style={{ height: "36px", marginBottom: "8px", borderRadius: "50%", display: 'block', boxShadow: "0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)" }}
37 >
38 <FacebookIcon size={36} round />
39 </FacebookShareButton>
40 <RedditShareButton
41 title={title}
42 url={url}
43 style={{ height: "36px", marginBottom: "8px", borderRadius: "50%", display: 'block', boxShadow: "0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)" }}
44 >
45 <RedditIcon size={36} round />
46 </RedditShareButton>
47 <LinkedinShareButton
48 title={title}
49 url={url}
50 style={{ height: "36px", marginBottom: "8px", borderRadius: "50%", display: 'block', boxShadow: "0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)" }}
51 >
52 <LinkedinIcon size={36} round />
53 </LinkedinShareButton>
54 </ShareBlockStyled>
55 )
56}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected