UNPKG

@blocknote/react

Version:

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

54 lines (53 loc) 1.86 kB
import { FileBlockConfig, audioBlockConfig } from "@blocknote/core"; import { ReactCustomBlockRenderProps } from "../../schema/ReactBlockSpec.js"; export declare const AudioPreview: (props: Omit<ReactCustomBlockRenderProps<FileBlockConfig, any, any>, "contentRef">) => import("react/jsx-runtime").JSX.Element; export declare const AudioToExternalHTML: (props: Omit<ReactCustomBlockRenderProps<typeof audioBlockConfig, any, any>, "contentRef">) => import("react/jsx-runtime").JSX.Element; export declare const AudioBlock: (props: ReactCustomBlockRenderProps<typeof audioBlockConfig, any, any>) => import("react/jsx-runtime").JSX.Element; export declare const ReactAudioBlock: { config: { type: "audio"; propSchema: { backgroundColor: { default: "default"; }; name: { default: ""; }; url: { default: ""; }; caption: { default: ""; }; showPreview: { default: true; }; }; content: "none"; isFileBlock: true; fileBlockAccept: string[]; }; implementation: import("@blocknote/core").TiptapBlockImplementation<{ type: "audio"; propSchema: { backgroundColor: { default: "default"; }; name: { default: ""; }; url: { default: ""; }; caption: { default: ""; }; showPreview: { default: true; }; }; content: "none"; isFileBlock: true; fileBlockAccept: string[]; }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>; };