UNPKG

@blocknote/react

Version:

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

16 lines (15 loc) 699 B
export declare const VersioningSidebar: (props: { /** * When set, pins the sidebar to a single view and hides the tab switcher: * `"named"` shows only user-created named versions, `"all"` shows the full * edit history. When omitted, both tabs are shown (default active `"named"`). */ filter?: "named" | "all"; /** * Called when the user closes the history panel via the header's close * button. The host is responsible for hiding the panel; the sidebar exits * preview mode (restoring editing) before invoking this. When omitted, the * close button is not rendered. */ onClose?: () => void; }) => import("react/jsx-runtime").JSX.Element;