From 24dafc6344efe2ae591cef91b4c32b433555775d Mon Sep 17 00:00:00 2001 From: Alex Hadley Date: Mon, 23 Oct 2023 11:20:36 -0700 Subject: [PATCH] Fix name of SignalPdfComponentProps type --- src/plugins/pdfPreviewPlugin.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/pdfPreviewPlugin.tsx b/src/plugins/pdfPreviewPlugin.tsx index 85bfcaa..2f1987f 100644 --- a/src/plugins/pdfPreviewPlugin.tsx +++ b/src/plugins/pdfPreviewPlugin.tsx @@ -69,7 +69,7 @@ function PdfComponent({ ); } -type UseSignalPdfComponentProps = { +type SignalPdfComponentProps = { /** The PDF component will rerender when this signal emits. */ update: ISignal; /** Props for the PDF component. */ @@ -77,7 +77,7 @@ type UseSignalPdfComponentProps = { }; /** Wrapper around a PdfComponent that can update in response to a Lumino signal. */ -function SignalPdfComponent({ update, props }: UseSignalPdfComponentProps) { +function SignalPdfComponent({ update, props }: SignalPdfComponentProps) { return {() => }; }