@blocknote/react
Version:
A "Notion-style" block-based extensible text editor built on top of Prosemirror and Tiptap.
14 lines (13 loc) • 540 B
TypeScript
import { ReactNode } from "react";
import { SideMenuProps } from "./SideMenuProps.js";
/**
* By default, the SideMenu component will render with default buttons. However,
* you can override the buttons to render by passing children. The children you
* pass should be:
*
* - Default buttons: Components found within the `/DefaultButtons` directory.
* - Custom buttons: The `SideMenuButton` component.
*/
export declare const SideMenu: (props: SideMenuProps & {
children?: ReactNode;
}) => import("react/jsx-runtime").JSX.Element;