import 'braft-editor/dist/index.css'; import React, { Component } from 'react'; import './index.less'; export interface IEditorProps { value?: string; uploadFile?: (p: any) => void; extendControls?: []; onChange?: (p: any) => void; style?: React.CSSProperties; excludeControls?: []; component?: {}; className?: string; controls?: Array; defaultValue?: string; } declare class Editor extends Component { constructor(props: any, context: any); componentWillReceiveProps(props: any): Promise; handleEditorChange: (editorState: any) => void; isEmpty(): any; render(): JSX.Element; } export default Editor;