UNPKG

@blocknote/react

Version:

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

11 lines (10 loc) 312 B
/** * Compatible replacement for `IconType` from react-icons. * Defined locally so consumers don't need react-icons installed for * type-checking. */ export type IconType = (props: React.SVGAttributes<SVGElement> & { size?: string | number; color?: string; title?: string; }) => React.ReactNode;