12345678910111213141516171819202122 |
- /// <reference types="react" />
- import React from "react";
- import { ControlType, EditorState } from "braft-editor";
- interface BaseEditorProps {
- value: EditorState;
- onChange: (editorState: EditorState) => void;
- contentStyle?: React.CSSProperties;
- controls?: ControlType[];
- blockRenderMap?: any;
- blockRendererFn?: any;
- onDelete?: Function;
- onSave?: Function;
- onTab?: Function;
- onFocus?: Function;
- onBlur?: Function;
- draftProps?: any;
- placeholder?: string;
- converts?: any;
- }
- declare const BarftEditorPage: ({ value, onChange, controls, contentStyle, draftProps, placeholder, blockRenderMap, blockRendererFn, onDelete, onSave, onTab, onFocus, onBlur, converts, }: BaseEditorProps) => JSX.Element;
- export { BarftEditorPage as default, BarftEditorPage, BaseEditorProps };
|