There was an error while loading. Please reload this page.
1 parent 27403f9 commit 3b054b7Copy full SHA for 3b054b7
2 files changed
.changeset/shiny-kiwis-lay.md
@@ -0,0 +1,5 @@
1
+---
2
+'@react-pdf/renderer': patch
3
4
+
5
+fix: bad type on onClick
packages/renderer/index.d.ts
@@ -448,7 +448,7 @@ declare namespace ReactPDF {
448
children?:
449
| React.ReactNode
450
| ((params: BlobProviderParams) => React.ReactNode);
451
- onClick?: function;
+ onClick?: Function;
452
}
453
454
/**
0 commit comments