Skip to content

Commit

Permalink
fix: bad type on onClick (#1924)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamduncan authored Jul 11, 2022
1 parent 27403f9 commit 3b054b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/shiny-kiwis-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@react-pdf/renderer': patch
---

fix: bad type on onClick
2 changes: 1 addition & 1 deletion packages/renderer/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ declare namespace ReactPDF {
children?:
| React.ReactNode
| ((params: BlobProviderParams) => React.ReactNode);
onClick?: function;
onClick?: Function;
}

/**
Expand Down

0 comments on commit 3b054b7

Please sign in to comment.