From 90e360d713cc65cee791b39d186cb82908de1783 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Tue, 24 Dec 2024 14:15:32 +0100 Subject: [PATCH] feat: :sparkles: Add ability to copy href of any property --- components/Heading.tsx | 2 +- components/Property.tsx | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/components/Heading.tsx b/components/Heading.tsx index d439a1c..c2c7082 100644 --- a/components/Heading.tsx +++ b/components/Heading.tsx @@ -14,7 +14,7 @@ import { remToPx } from "../lib/remToPx"; import { useSectionStore } from "./SectionProvider"; import { Tag } from "./Tag"; -function AnchorIcon(props: ComponentPropsWithoutRef<"svg">) { +export function AnchorIcon(props: ComponentPropsWithoutRef<"svg">) { return ( +
  • + +
    + +
    +
    Name