react-smart-editor
Version:
React rich text editor with track changes functionality
22 lines • 947 B
TypeScript
import '../styles/ReactSmartEditor.css';
import '../styles/FormattingToolbar.css';
import '../styles/ChangeTooltip.css';
import React from 'react';
import { ReactSmartEditorProps } from '../types';
/**
* ReactSmartEditor component
* @param initialContent - The initial content of the editor
* @param user - The user of the editor
* @param disabled - Set editor disabled
* @param onChange - The onChange event
* @param onApprove - The onApprove event
* @param onReject - The onReject event
* @param onFocus - The onFocus event
* @param onBlur - The onBlur event
* @param formattingToolbarTop - The top of the formatting toolbar
* @param hideFormattingToolbarActions - Hides all formatting actions except approve and reject for owner
* @param autoHeight - The minimum height of the editor
*/
declare const ReactSmartEditor: React.FC<ReactSmartEditorProps>;
export default ReactSmartEditor;
//# sourceMappingURL=ReactSmartEditor.d.ts.map