Skip to content

Commit 3b054b7

Browse files
authored
fix: bad type on onClick (#1924)
1 parent 27403f9 commit 3b054b7

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/shiny-kiwis-lay.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@react-pdf/renderer': patch
3+
---
4+
5+
fix: bad type on onClick

packages/renderer/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ declare namespace ReactPDF {
448448
children?:
449449
| React.ReactNode
450450
| ((params: BlobProviderParams) => React.ReactNode);
451-
onClick?: function;
451+
onClick?: Function;
452452
}
453453

454454
/**

0 commit comments

Comments
 (0)