We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8cc78b commit 56cf948Copy full SHA for 56cf948
.changeset/heavy-taxis-burn.md
@@ -0,0 +1,6 @@
1
+---
2
+"@react-pdf/render": patch
3
+"@react-pdf/renderer": patch
4
5
+
6
+fix: SVGPresentationAttributes types
packages/renderer/index.d.ts
@@ -236,7 +236,7 @@ declare namespace ReactPDF {
236
237
class Canvas extends React.Component<CanvasProps> {}
238
239
- interface SVGProps extends NodeProps {
+ interface SVGProps extends NodeProps, SVGPresentationAttributes {
240
/**
241
* Enables debug mode on page bounding box.
242
* @see https://react-pdf.org/advanced#debugging
0 commit comments