UNPKG

@blocknote/react

Version:

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

11 lines (10 loc) 408 B
import { FC } from "react"; import { SuggestionMenuProps } from "./types.js"; export declare function SuggestionMenuWrapper<Item>(props: { query: string; closeMenu: () => void; clearQuery: () => void; getItems: (query: string) => Promise<Item[]>; onItemClick?: (item: Item) => void; suggestionMenuComponent: FC<SuggestionMenuProps<Item>>; }): import("react/jsx-runtime").JSX.Element;