UNPKG

fastlion-amis

Version:

一种MIS页面生成工具

27 lines (26 loc) 748 B
import React, { RefObject } from "react"; interface Props { disabled?: boolean; readOnly?: boolean; model?: string; onRef?: (ref: any) => void; onModelChange?: (value: string) => void; placeholder?: string; onBlur?: () => void; onFocus?: () => void; } declare class RichText extends React.Component<Props> { protected editorRef: RefObject<HTMLDivElement>; protected editor: any | null; static defaultProps: { disabled: boolean; readOnly: boolean; }; edit: boolean; componentDidMount(): void; componentDidUpdate(prevProps: Props): void; componentWillUnmount(): void; init: () => void; render(): JSX.Element; } export default RichText;