@fileverse-dev/ddoc 2.1.0-patch-2 → 2.1.0-patch-3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { Editor } from '@tiptap/react';
3
3
 
4
- declare const TiptapToolBar: ({ editor, onError, zoomLevel, setZoomLevel, isNavbarVisible, setIsNavbarVisible, secureImageUploadUrl, }: {
4
+ declare const TiptapToolBar: ({ editor, onError, isNavbarVisible, setIsNavbarVisible, secureImageUploadUrl, }: {
5
5
  editor: Editor;
6
6
  onError?: (errorString: string) => void;
7
7
  zoomLevel: string;
@@ -6,6 +6,9 @@ interface PresentationModeProps {
6
6
  isFullscreen: boolean;
7
7
  setIsFullscreen: (isFullscreen: boolean) => void;
8
8
  onError?: (error: string) => void;
9
+ setIsCommentSectionOpen: React.Dispatch<React.SetStateAction<boolean>> | undefined;
10
+ sharedSlidesLink?: string;
11
+ isPreviewMode: boolean;
9
12
  }
10
- export declare const PresentationMode: ({ editor, onClose, isFullscreen, setIsFullscreen, onError, }: PresentationModeProps) => import("react/jsx-runtime").JSX.Element | null;
13
+ export declare const PresentationMode: ({ editor, onClose, isFullscreen, setIsFullscreen, onError, setIsCommentSectionOpen, sharedSlidesLink, isPreviewMode, }: PresentationModeProps) => import("react/jsx-runtime").JSX.Element | null;
11
14
  export {};
@@ -56,6 +56,7 @@ export interface DdocProps {
56
56
  unFocused?: boolean;
57
57
  isPresentationMode?: boolean;
58
58
  setIsPresentationMode?: React.Dispatch<SetStateAction<boolean>>;
59
+ sharedSlidesLink?: string;
59
60
  }
60
61
  export interface IEditorSelectionData {
61
62
  from: number;