UNPKG

@blocknote/shadcn

Version:

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

11 lines (10 loc) 614 B
import { BlockSchema, InlineContentSchema, StyleSchema } from "@blocknote/core"; import { BlockNoteViewRaw } from "@blocknote/react"; import { ShadCNComponents } from "./ShadCNComponentsContext.js"; import "./style.css"; export declare const BlockNoteView: <BSchema extends BlockSchema, ISchema extends InlineContentSchema, SSchema extends StyleSchema>(props: React.ComponentProps<typeof BlockNoteViewRaw<BSchema, ISchema, SSchema>> & { /** * (optional)Provide your own shadcn component overrides */ shadCNComponents?: Partial<ShadCNComponents>; }) => import("react/jsx-runtime.js").JSX.Element;