From 93eafb0bdc7c2b02f65fd75ef25cba2c4eddaaa8 Mon Sep 17 00:00:00 2001 From: Izidorio Bento Date: Sun, 14 Jan 2024 16:06:45 -0300 Subject: [PATCH] fix: interface PDFDownloadLinkProps attribute onClick (#1980) --- packages/renderer/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/renderer/index.d.ts b/packages/renderer/index.d.ts index 4dd88210b..f1151fa72 100644 --- a/packages/renderer/index.d.ts +++ b/packages/renderer/index.d.ts @@ -467,7 +467,7 @@ declare namespace ReactPDF { children?: | React.ReactNode | ((params: BlobProviderParams) => React.ReactNode); - onClick?: Function; + onClick?: () => void; } /**