Нема описа

123456789101112131415161718
  1. /// <reference types="react" />
  2. import React from "react";
  3. import { ControlType, EditorState } from "braft-editor";
  4. interface BaseEditorProps {
  5. value: EditorState;
  6. onChange: (editorState: EditorState) => void;
  7. contentStyle?: React.CSSProperties;
  8. controls?: ControlType[];
  9. FloatControls?: any;
  10. blockRenderMap?: any;
  11. blockRendererFn?: any;
  12. draftProps?: any;
  13. placeholder?: string;
  14. converts?: any;
  15. }
  16. declare const BarftEditorPage: ({ value, onChange, controls, contentStyle, FloatControls, draftProps, placeholder, blockRenderMap, blockRendererFn, converts, }: BaseEditorProps) => JSX.Element;
  17. export { BarftEditorPage as default, BarftEditorPage, BaseEditorProps };