@fileverse-dev/ddoc 2.0.3-patch-3 → 2.0.3-patch-5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1 @@
1
- interface SpinnerProps {
2
- height?: number;
3
- width?: number;
4
- }
5
- export declare const Spinner: ({ height, width }: SpinnerProps) => import("react/jsx-runtime").JSX.Element;
6
- export default Spinner;
1
+ export declare const Spinner: () => import("react/jsx-runtime").JSX.Element;
@@ -51,12 +51,13 @@ export declare const EditorList: ({ elementRef, editor, setToolVisibility, }: {
51
51
  editor: Editor;
52
52
  setToolVisibility: Dispatch<SetStateAction<IEditorTool>>;
53
53
  }) => import("react/jsx-runtime").JSX.Element;
54
- export declare const LinkPopup: ({ elementRef, editor, setToolVisibility, bubbleMenu, setIsLinkPopupOpen, }: {
54
+ export declare const LinkPopup: ({ elementRef, editor, setToolVisibility, bubbleMenu, setIsLinkPopupOpen, onError, }: {
55
55
  elementRef: React.RefObject<HTMLDivElement>;
56
56
  editor: Editor;
57
57
  setToolVisibility: Dispatch<SetStateAction<IEditorTool>>;
58
58
  bubbleMenu?: boolean;
59
59
  setIsLinkPopupOpen?: Dispatch<SetStateAction<boolean>>;
60
+ onError?: (errorString: string) => void;
60
61
  }) => import("react/jsx-runtime").JSX.Element;
61
62
  export declare const ScriptsPopup: ({ elementRef, editor, setToolVisibility, }: {
62
63
  elementRef: React.RefObject<HTMLDivElement>;