From fe47c388ce5ef49c286302a7b771a680c2f0c239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Sat, 18 Sep 2021 20:45:00 +0200 Subject: [PATCH] fix: set correct component type for ReactRenderer, fix #1904 --- packages/react/src/ReactRenderer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/ReactRenderer.tsx b/packages/react/src/ReactRenderer.tsx index 560e8103c..5f7004f92 100644 --- a/packages/react/src/ReactRenderer.tsx +++ b/packages/react/src/ReactRenderer.tsx @@ -23,7 +23,7 @@ export interface ReactRendererOptions { } type ComponentType = - | React.Component + | React.ComponentClass | React.FunctionComponent | React.ForwardRefExoticComponent<{ items: any[], command: any } & React.RefAttributes>