UNPKG

@blocknote/react

Version:

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

14 lines (13 loc) 562 B
import { FC } from "react"; import { FloatingUIOptions } from "../Popovers/FloatingUIOptions.js"; import { SideMenuProps } from "./SideMenuProps.js"; export declare const SideMenuController: (props: { sideMenu?: FC<SideMenuProps>; floatingUIOptions?: Partial<FloatingUIOptions>; /** * Override the DOM node this floating element portals into. Falls back to * the ambient portal element (the element wrapping the editor by default) * when omitted. */ portalElement?: HTMLElement; }) => import("react/jsx-runtime").JSX.Element;