@tiptap/react
Version:
React components for tiptap
7 lines • 386 B
TypeScript
export interface ReactNodeViewContextProps {
onDragStart: (event: DragEvent) => void;
nodeViewContentRef: (element: HTMLElement | null) => void;
}
export declare const ReactNodeViewContext: import("react").Context<Partial<ReactNodeViewContextProps>>;
export declare const useReactNodeView: () => Partial<ReactNodeViewContextProps>;
//# sourceMappingURL=useReactNodeView.d.ts.map