UNPKG

@blocknote/react

Version:

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

68 lines (67 loc) 2.03 kB
import { InlineContentSchema, StyleSchema } from "@blocknote/core"; import { FC } from "react"; import { ExtendButtonProps } from "./ExtendButton/ExtendButtonProps.js"; import { TableHandleProps } from "./TableHandleProps.js"; export declare const TableHandlesController: <I extends InlineContentSchema = import("@blocknote/core").InlineContentSchemaFromSpecs<{ text: { config: "text"; implementation: any; }; link: { config: "link"; implementation: any; }; }>, S extends StyleSchema = import("@blocknote/core").StyleSchemaFromSpecs<{ bold: { config: { type: string; propSchema: "boolean"; }; implementation: import("@blocknote/core").StyleImplementation; }; italic: { config: { type: string; propSchema: "boolean"; }; implementation: import("@blocknote/core").StyleImplementation; }; underline: { config: { type: string; propSchema: "boolean"; }; implementation: import("@blocknote/core").StyleImplementation; }; strike: { config: { type: string; propSchema: "boolean"; }; implementation: import("@blocknote/core").StyleImplementation; }; code: { config: { type: string; propSchema: "boolean"; }; implementation: import("@blocknote/core").StyleImplementation; }; textColor: { config: { type: string; propSchema: "string"; }; implementation: import("@blocknote/core").StyleImplementation; }; backgroundColor: { config: { type: string; propSchema: "string"; }; implementation: import("@blocknote/core").StyleImplementation; }; }>>(props: { tableHandle?: FC<TableHandleProps<I, S>>; extendButton?: FC<ExtendButtonProps<I, S>>; }) => import("react/jsx-runtime").JSX.Element | null;