Skip to content

feat: add a ref to the link component#3124

Merged
diegomura merged 2 commits intodiegomura:masterfrom
pcorpet:master
Sep 23, 2025
Merged

feat: add a ref to the link component#3124
diegomura merged 2 commits intodiegomura:masterfrom
pcorpet:master

Conversation

@pcorpet
Copy link
Contributor

@pcorpet pcorpet commented Mar 11, 2025

The PDFDownloadLink component does not forward its ref to the inner anchor yet. Adding a ref would enable the caller to focus it programmatically, or to integrate it properly with libraries like MUI https://mui.com/material-ui/

@changeset-bot
Copy link

changeset-bot bot commented Mar 11, 2025

🦋 Changeset detected

Latest commit: 464ed0d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@react-pdf/renderer Patch
next-14 Patch
next-15 Patch
@react-pdf/vite-example Patch
@react-pdf/e2e-node-cjs Patch
@react-pdf/e2e-node-esm Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@diegomura diegomura changed the title feat(pdfdownloadlink): add a ref to the link component feat: add a ref to the link component Sep 23, 2025
@diegomura diegomura merged commit dcc7b40 into diegomura:master Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants