No Description

index.d.ts 432B

1234567891011
  1. /// <reference types="react" />
  2. import { ControlType, EditorState } from "braft-editor";
  3. interface BaseEditorProps {
  4. value: EditorState;
  5. onChange: (editorState: EditorState) => void;
  6. controls?: ControlType[];
  7. FloatControls?: any;
  8. }
  9. declare const BarftEditorPage: ({ value, onChange, controls, FloatControls }: BaseEditorProps) => JSX.Element;
  10. export { BarftEditorPage as default, BarftEditorPage, BaseEditorProps };