UNPKG

@blocknote/react

Version:

A "Notion-style" block-based extensible text editor built on top of Prosemirror and Tiptap.

12 lines (11 loc) 489 B
import { BlockNoteDefaultUIProps } from "./BlockNoteDefaultUI.js"; export type BlockNoteViewContextValue = { editorProps: { autoFocus?: boolean; contentEditableProps?: Record<string, any>; editable?: boolean; }; defaultUIProps: BlockNoteDefaultUIProps; }; export declare const BlockNoteViewContext: import("react").Context<BlockNoteViewContextValue | undefined>; export declare function useBlockNoteViewContext(): BlockNoteViewContextValue | undefined;