fix: set correct component type for ReactRenderer, fix #1904
This commit is contained in:
@@ -23,7 +23,7 @@ export interface ReactRendererOptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ComponentType =
|
type ComponentType =
|
||||||
| React.Component
|
| React.ComponentClass
|
||||||
| React.FunctionComponent
|
| React.FunctionComponent
|
||||||
| React.ForwardRefExoticComponent<{ items: any[], command: any } & React.RefAttributes<unknown>>
|
| React.ForwardRefExoticComponent<{ items: any[], command: any } & React.RefAttributes<unknown>>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user