@blocknote/react
Version:
A "Notion-style" block-based extensible text editor built on top of Prosemirror and Tiptap.
18 lines (16 loc) • 445 B
text/typescript
import {
DefaultBlockSchema,
DefaultInlineContentSchema,
DefaultStyleSchema,
InlineContentSchema,
SpecificBlock,
StyleSchema,
} from "@blocknote/core";
export type TableHandleMenuProps<
I extends InlineContentSchema = DefaultInlineContentSchema,
S extends StyleSchema = DefaultStyleSchema,
> = {
orientation: "row" | "column";
block: SpecificBlock<{ table: DefaultBlockSchema["table"] }, "table", I, S>;
index: number;
};