@blocknote/react
Version:
A "Notion-style" block-based extensible text editor built on top of Prosemirror and Tiptap.
13 lines (12 loc) • 319 B
text/typescript
/**
* 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;