Nav apraksta

index.d.ts 460B

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