Skip to content

Commit 75b810c

Browse files
♻️ whatsapp space btw link and title
1 parent 339fbc6 commit 75b810c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-web-share",
33
"author": "Harsh Zalavadiya",
4-
"version": "1.0.4",
4+
"version": "1.0.5",
55
"license": "MIT",
66
"repository": "harshzalavadiya/react-web-share",
77
"module": "dist/react-web-share.esm.js",

src/components/icon/list.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const iconList: IconListType = {
1010
<path d="M23.998 12c0-6.628-5.372-12-11.999-12C5.372 0 0 5.372 0 12c0 5.988 4.388 10.952 10.124 11.852v-8.384H7.078v-3.469h3.046V9.356c0-3.008 1.792-4.669 4.532-4.669 1.313 0 2.686.234 2.686.234v2.953H15.83c-1.49 0-1.955.925-1.955 1.874V12h3.328l-.532 3.469h-2.796v8.384c5.736-.9 10.124-5.864 10.124-11.853z" />
1111
),
1212
color: "#0076FB",
13-
e: l => window.open(`https://www.facebook.com/sharer/sharer.php?u=${l}`),
13+
e: (l) => window.open(`https://www.facebook.com/sharer/sharer.php?u=${l}`),
1414
},
1515
twitter: {
1616
path: (
@@ -24,7 +24,7 @@ const iconList: IconListType = {
2424
<path d="M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.14-.67.15-.2.3-.76.97-.94 1.17-.17.2-.34.22-.64.07s-1.26-.46-2.4-1.47a8.95 8.95 0 01-1.64-2.06c-.18-.3-.02-.46.13-.6.13-.14.3-.35.44-.53.15-.17.2-.3.3-.5.1-.2.05-.36-.03-.51l-.91-2.21c-.24-.58-.49-.5-.67-.51l-.57-.01c-.2 0-.52.07-.8.37-.26.3-1.03 1.02-1.03 2.48s1.06 2.88 1.21 3.08c.15.2 2.1 3.2 5.08 4.48.7.3 1.26.5 1.7.63.7.22 1.35.2 1.86.11.57-.08 1.76-.71 2-1.4.26-.7.26-1.3.18-1.42-.07-.13-.27-.2-.57-.35m-5.42 7.4A9.87 9.87 0 017 20.41l-.36-.22-3.74.99 1-3.65-.23-.38a9.86 9.86 0 01-1.51-5.26 9.9 9.9 0 0116.87-6.98 9.82 9.82 0 012.9 7 9.9 9.9 0 01-9.89 9.88m8.41-18.3A11.81 11.81 0 0012.05 0a11.91 11.91 0 00-10.3 17.84L.05 24l6.31-1.65a11.88 11.88 0 005.68 1.44h.01c6.55 0 11.89-5.33 11.9-11.89a11.82 11.82 0 00-3.49-8.41z" />
2525
),
2626
color: "#25D366",
27-
e: (l, t) => window.open(`https://api.whatsapp.com/send?text=${t}${l}`),
27+
e: (l, t) => window.open(`https://api.whatsapp.com/send?text=${t} ${l}`),
2828
},
2929
reddit: {
3030
path: (
@@ -62,7 +62,7 @@ const iconList: IconListType = {
6262
<path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"></path>
6363
),
6464
color: "#718096",
65-
e: l => navigator.clipboard.writeText(l),
65+
e: (l) => navigator.clipboard.writeText(l),
6666
},
6767
};
6868

0 commit comments

Comments
 (0)