draft-js-image-render-plugin
Version:
draft-js-image-render-plugin
11 lines (10 loc) • 338 B
TypeScript
import * as React from 'react';
import { ContentBlock, ContentState, EditorState } from 'draft-js';
interface OwnProps {
block: ContentBlock;
contentState: ContentState;
getEditorState: () => EditorState;
setEditorState: (editorState: EditorState) => void;
}
declare const Image: React.FC<OwnProps>;
export default Image;