Skip to content

Commit

Permalink
Pass along all the link props
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamc committed Dec 12, 2024
1 parent db5fd15 commit 3d5afa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/mdx/A.astro
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ const rel = external && !phid ? "noopener noreferrer" : undefined;
const target = external ? "_blank" : undefined;
---

<Link {href} {target} {rel}><slot /></Link>
<Link {href} {target} {rel} {...Astro.props}><slot /></Link>

0 comments on commit 3d5afa4

Please sign in to comment.