mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 17:43:49 +08:00
fix: update ReactNodeViewProps to allow null ref values
This commit is contained in:
parent
ef12b32623
commit
dd53b9c117
@ -2,5 +2,5 @@ import type { NodeViewProps as CoreNodeViewProps } from '@tiptap/core'
|
||||
import type React from 'react'
|
||||
|
||||
export type ReactNodeViewProps<T = HTMLElement> = CoreNodeViewProps & {
|
||||
ref: React.RefObject<T>
|
||||
ref: React.RefObject<T | null>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user