UNPKG

@blocknote/react

Version:

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

9 lines (8 loc) 635 B
import { BlockSchema, DefaultBlockSchema, DefaultInlineContentSchema, DefaultStyleSchema, InlineContentSchema, StyleSchema } from "@blocknote/core"; import { UseFloatingOptions } from "@floating-ui/react"; import { FC } from "react"; import { FilePanelProps } from "./FilePanelProps.js"; export declare const FilePanelController: <B extends BlockSchema = DefaultBlockSchema, I extends InlineContentSchema = DefaultInlineContentSchema, S extends StyleSchema = DefaultStyleSchema>(props: { filePanel?: FC<FilePanelProps<I, S>>; floatingOptions?: Partial<UseFloatingOptions>; }) => import("react/jsx-runtime").JSX.Element | null;