-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enable
PDFDownloadLink
to Receive Anchor Props (#2071)
* feat: Enable `PDFDownloadLink` to Receive Anchor Props Changes: - Pass ALL anchor tag props to the rendered anchor element -- EXCLUDING the reserved `href` attribute. - Improve the `onClick` type of `PDFDownloadLink`. - Minor cleanup in related files. * feat: preserve doc var * fix: preserve blank line --------- Co-authored-by: Diego Muracciole <[email protected]>
- Loading branch information
1 parent
93eafb0
commit 8b00577
Showing
2 changed files
with
9 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters