UNPKG

jamis

Version:

一种支持通过JSON配置方式生成页面的组件库

17 lines (16 loc) 615 B
import React from 'react'; import type { Delta, Range } from 'quill'; import type Quill from 'quill'; import type { QuillEditorProps, QuillEditorRendererProps } from './types'; export declare class QuillEditorControl extends React.Component<QuillEditorRendererProps, any> { static defaultProps: { fileField: string; receiver: string; placeholder: string; }; quillRef: React.RefObject<Quill>; handleTextChange: (delta: Delta, content: string) => void; handleImageUpload: QuillEditorProps['onImageUpload']; setRange: (rang: Range) => void; render(): JSX.Element; }