mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +08:00
fix: set correct component type for ReactRenderer, fix #1904
This commit is contained in:
parent
00c24b513f
commit
fe47c388ce
@ -23,7 +23,7 @@ export interface ReactRendererOptions {
|
||||
}
|
||||
|
||||
type ComponentType =
|
||||
| React.Component
|
||||
| React.ComponentClass
|
||||
| React.FunctionComponent
|
||||
| React.ForwardRefExoticComponent<{ items: any[], command: any } & React.RefAttributes<unknown>>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user