From 7abc412ccd8b5cef5407bcde3c81908014775cd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Berg=C3=A9?= Date: Sun, 24 Dec 2023 13:42:14 +0400 Subject: [PATCH] fix: fix ref type Closes #21 --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 7d7c5dd..889cd1a 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -34,7 +34,7 @@ type Template< props: ResultProps, ) => Parameters[0]), ...values: any[] -) => React.ComponentType< +) => React.ForwardRefExoticComponent< ResultProps >;