({ title, url })
| 21 | ` |
| 22 | |
| 23 | export 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected