@uiw/react-md-editor
Version:
A markdown editor with preview, implemented with React.js and TypeScript.
13 lines (12 loc) • 509 B
TypeScript
import React from 'react';
import MarkdownPreview from '@uiw/react-markdown-preview/nohighlight';
import { ContextStore } from './Context';
import type { MDEditorProps } from './Types';
export interface RefMDEditor extends ContextStore {
}
declare const InternalMDEditor: React.ForwardRefExoticComponent<MDEditorProps & React.RefAttributes<RefMDEditor>>;
type EditorComponent = typeof InternalMDEditor & {
Markdown: typeof MarkdownPreview;
};
declare const Editor: EditorComponent;
export default Editor;