暫無描述

index.d.ts 513B

12345678910111213
  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. }
  11. declare const BarftEditorPage: ({ value, onChange, controls, contentStyle, FloatControls }: BaseEditorProps) => JSX.Element;
  12. export { BarftEditorPage as default, BarftEditorPage, BaseEditorProps };