No Description

index.d.ts 669B

1234567891011121314151617
  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. placeholder?: string;
  13. converts?: any;
  14. }
  15. declare const BarftEditorPage: ({ value, onChange, controls, contentStyle, FloatControls, placeholder, blockRenderMap, blockRendererFn, converts, }: BaseEditorProps) => JSX.Element;
  16. export { BarftEditorPage as default, BarftEditorPage, BaseEditorProps };