We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 664e3e9 commit 3630cbbCopy full SHA for 3630cbb
plugins/blog/components/Share.tsx
@@ -4,13 +4,18 @@ import IconBrandLinkedin from "tabler_icons_tsx/brand-linkedin.tsx";
4
import IconBrandReddit from "tabler_icons_tsx/brand-reddit.tsx";
5
import IconBrandTwitter from "tabler_icons_tsx/brand-twitter.tsx";
6
7
+interface ShareProps {
8
+ url: URL;
9
+ title: string;
10
+}
11
+
12
/**
13
* Dynamically generates links for sharing the current content on the major
14
* social media platforms.
15
*
16
* @see {@link https://schier.co/blog/pure-html-share-buttons}
17
*/
-export default function Share(props: { url: URL; title: string }) {
18
+export default function Share(props: ShareProps) {
19
return (
20
<div class="flex flex-row gap-4 my-4">
21
<span class="align-middle">Share</span>
0 commit comments