fix: update ReactNodeViewProps to allow null ref values

This commit is contained in:
bdbch 2025-06-04 20:15:52 +02:00
parent ef12b32623
commit dd53b9c117

View File

@ -2,5 +2,5 @@ import type { NodeViewProps as CoreNodeViewProps } from '@tiptap/core'
import type React from 'react' import type React from 'react'
export type ReactNodeViewProps<T = HTMLElement> = CoreNodeViewProps & { export type ReactNodeViewProps<T = HTMLElement> = CoreNodeViewProps & {
ref: React.RefObject<T> ref: React.RefObject<T | null>
} }