@fileverse-dev/ddoc 2.1.7-collapse-heading-patch-3 → 2.1.7-patch-1

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,14 +1,10 @@
1
1
  import { default as React, ReactNode } from 'react';
2
2
 
3
- type EditingContextType = {
4
- isPreviewMode: boolean;
5
- isPresentationMode?: boolean;
6
- };
3
+ type EditingContextType = boolean | null;
7
4
  export declare const useEditingContext: () => EditingContextType;
8
5
  type EditingProviderProps = {
9
6
  children: ReactNode;
10
7
  isPreviewMode: boolean;
11
- isPresentationMode?: boolean;
12
8
  };
13
9
  export declare const EditingProvider: React.FC<EditingProviderProps>;
14
10
  export {};