Nessuna descrizione

index.d.ts 739B

12345678910111213141516171819202122
  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. onClick: any;
  9. text?: string;
  10. render?: (i: ToolListItem, innerIcon: any, innerText: any, divWrapStyle: React.CSSProperties | undefined) => any;
  11. }
  12. interface QASimpleEditorProps extends BaseEditorProps {
  13. toolAlign?: "inner" | "bottom";
  14. toolList?: Array<ToolListItem>;
  15. injectControlsToolBar?: any;
  16. toolBarContainerStyle?: any;
  17. appendToolBtn?: any;
  18. }
  19. declare const QASimpleEditor: (props: QASimpleEditorProps) => JSX.Element;
  20. export { default as BraftEditor } from "../BraftEditor/index";
  21. export { QASimpleEditor };