No Description

index.d.ts 828B

12345678910111213141516171819202122232425
  1. /// <reference types="react" />
  2. import { BaseEditorProps } from "../BraftEditor/index";
  3. import React from "react";
  4. interface ToolListItem {
  5. key: any;
  6. color: string;
  7. iconClass: string;
  8. iconTextClass: string;
  9. onClick: any;
  10. text?: string;
  11. render?: (i: ToolListItem, innerIcon: any, innerText: any, divWrapStyle: React.CSSProperties | undefined) => any;
  12. }
  13. interface SimpleEditorProps extends BaseEditorProps {
  14. toolAlign?: "inner" | "bottom" | "both";
  15. toolList?: Array<ToolListItem>;
  16. injectControlsToolBar?: any;
  17. injectBraftEditorProps?: any;
  18. toolBarContainerStyle?: any;
  19. appendToolBtn?: any;
  20. appendInnderBar?: any;
  21. }
  22. declare const SimpleEditor: (props: SimpleEditorProps) => JSX.Element;
  23. export { default as BraftEditor } from "../BraftEditor/index";
  24. export { SimpleEditor };