UNPKG

@yoopta/editor

Version:

<h2 align="center">Yoopta-Editor v1 🎉</h2> <p align="center">Yoopta-Editor - is an open source notion-like editor 💥</p> <div align="center"> <img width="574" alt="Screen Shot 2023-01-25 at 16 04 29" src="https://user-images.githubusercontent.com/2909311

13 lines • 559 B
import type { ReactElement, ReactNode } from 'react'; import type { YooEditor } from '../../editor/types'; import type { YooptaMark } from '../../marks'; import type { RenderBlockProps } from '../../yoopta-editor'; type Props = { editor: YooEditor; marks?: YooptaMark<any>[]; placeholder?: string; renderBlock?: (props: RenderBlockProps) => ReactNode; }; declare const RenderBlocks: ({ editor, marks, placeholder, renderBlock }: Props) => ReactElement<any, any>; export { RenderBlocks }; //# sourceMappingURL=render-blocks.d.ts.map