import * as React from 'react'; interface RichTextProps { /**是否可编辑 */ editable?: boolean; /**输入框内容 */ value?: string; /**输入框内容变化时的回调 */ onChange?: Function; /**文件上传URL */ uploadUrl?: string; } interface RichTextState {} declare class RichText extends React.Component { state: RichTextState; componentDidMount(): void; componentDidUpdate(prevProps: RichTextProps): void; componentWillUnmount(): void; render: () => React.ReactElement; } export default RichText;