Skip to content

Commit

Permalink
fix: SVGPresentationAttributes types (diegomura#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
2 people authored and mskec committed Feb 26, 2024
1 parent 9d5ce6f commit f0df666
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 f0df666

Please sign in to comment.