UNPKG

draft-js-image-render-plugin

Version:
14 lines (13 loc) 511 B
import { EditorState } from 'draft-js'; export declare const imageRenderPlugin: { blockRendererFn: (block: Draft.Model.ImmutableData.ContentBlock, pluginFunctions: { getEditorState: () => EditorState; setEditorState: (editorState: EditorState) => void; }) => void; initialize: (pluginFunctions: { getEditorState: () => EditorState; setEditorState: (editorState: EditorState) => void; }) => void; }; declare const Editor: () => JSX.Element; export default Editor;