@blocknote/react
Version:
A "Notion-style" block-based extensible text editor built on top of Prosemirror and Tiptap.
9 lines (8 loc) • 688 B
TypeScript
import { BlockSchema, DefaultBlockSchema, DefaultInlineContentSchema, DefaultStyleSchema, InlineContentSchema, StyleSchema } from "@blocknote/core";
import { UseFloatingOptions } from "@floating-ui/react";
import { ComponentProps, FC } from "react";
import { FloatingComposer } from "./FloatingComposer.js";
export declare const FloatingComposerController: <B extends BlockSchema = DefaultBlockSchema, I extends InlineContentSchema = DefaultInlineContentSchema, S extends StyleSchema = DefaultStyleSchema>(props: {
floatingComposer?: FC<ComponentProps<typeof FloatingComposer>>;
floatingOptions?: Partial<UseFloatingOptions>;
}) => import("react/jsx-runtime").JSX.Element | null;