fix: set correct component type for ReactRenderer, fix #1904

This commit is contained in:
Philipp Kühn 2021-09-18 20:45:00 +02:00
parent 00c24b513f
commit fe47c388ce

View File

@ -23,7 +23,7 @@ export interface ReactRendererOptions {
}
type ComponentType =
| React.Component
| React.ComponentClass
| React.FunctionComponent
| React.ForwardRefExoticComponent<{ items: any[], command: any } & React.RefAttributes<unknown>>