Skip to content

Commit

Permalink
fix: SVGPresentationAttributes types (#2363)
Browse files Browse the repository at this point in the history
* fix SVGPresentationAttributes typing

* chore: add changeset

---------

Co-authored-by: Diego Muracciole <[email protected]>
  • Loading branch information
azmy60 and diegomura authored Jan 14, 2024
1 parent e01dff4 commit 8654d00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/heavy-taxis-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@react-pdf/render": patch
"@react-pdf/renderer": patch
---

fix: SVGPresentationAttributes types
2 changes: 1 addition & 1 deletion packages/renderer/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ declare namespace ReactPDF {

class Canvas extends React.Component<CanvasProps> {}

interface SVGProps extends NodeProps {
interface SVGProps extends NodeProps, SVGPresentationAttributes {
/**
* Enables debug mode on page bounding box.
* @see https://react-pdf.org/advanced#debugging
Expand Down

0 comments on commit 8654d00

Please sign in to comment.