jodit-react
Version:
Jodit is awesome and usefully wysiwyg editor with filebrowser
14 lines (12 loc) • 353 B
TypeScript
import * as React from 'react';
import { IJodit } from 'jodit';
declare module 'jodit-react' {
export interface IJoditEditorProps {
value: string,
config?: IJodit['options'];
onChange: (newValue: string) => void;
onBlur: (newValue: string) => void;
}
const JoditEditor: React.ComponentType<IJoditEditorProps>;
export default JoditEditor;
}