UNPKG

@blocknote/react

Version:

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

9 lines (8 loc) 645 B
import { BlockSchema, DefaultBlockSchema, DefaultInlineContentSchema, DefaultStyleSchema, InlineContentSchema, StyleSchema } from "@blocknote/core"; import { FC } from "react"; import { UseFloatingOptions } from "@floating-ui/react"; import { SideMenuProps } from "./SideMenuProps.js"; export declare const SideMenuController: <BSchema extends BlockSchema = DefaultBlockSchema, I extends InlineContentSchema = DefaultInlineContentSchema, S extends StyleSchema = DefaultStyleSchema>(props: { sideMenu?: FC<SideMenuProps<BSchema, I, S>>; floatingOptions?: Partial<UseFloatingOptions>; }) => import("react/jsx-runtime").JSX.Element | null;