UNPKG

@syncfusion/ej2-react-documenteditor

Version:

Feature-rich document editor control with built-in support for context menu, options pane and dialogs. for React

35 lines (34 loc) 1.13 kB
import * as React from 'react'; import { DocumentEditor, DocumentEditorModel } from '@syncfusion/ej2-documenteditor'; import { DefaultHtmlAttributes } from '@syncfusion/ej2-react-base'; /** * Represents react Document Editor Component * ```ts * <DocumentEditorComponent></DocumentEditorComponent> * ``` */ export declare class DocumentEditorComponent extends DocumentEditor { state: Readonly<{ children?: React.ReactNode | React.ReactNode[]; }> & Readonly<DocumentEditorModel | DefaultHtmlAttributes>; setState: any; private getDefaultAttributes; initRenderCalled: boolean; private checkInjectedModules; private statelessTemplateProps; private templateProps; private immediateRender; private isReactMock; props: Readonly<{ children?: React.ReactNode | React.ReactNode[]; }> & Readonly<DocumentEditorModel | DefaultHtmlAttributes>; forceUpdate: (callBack?: () => any) => void; context: Object; portals: any; isReactComponent: Object; refs: { [key: string]: React.ReactInstance; }; constructor(props: any); render(): any; }