zs_library 0.3.11 → 0.3.13

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,5 +1,6 @@
1
1
  import { MDXEditorProps, ImageUploadHandler, ImagePreviewHandler, ViewMode, HEADING_LEVEL, CodeBlockEditorDescriptor, DirectiveDescriptor } from '@mdxeditor/editor';
2
2
  import { FC } from 'react';
3
+ import { default as MDXEditorPreview } from './preview';
3
4
  type Extension = {
4
5
  extension: Extension;
5
6
  } | readonly Extension[];
@@ -50,5 +51,9 @@ export interface MdEditorProps extends Omit<MDXEditorProps, "markdown" | "onChan
50
51
  onChange?: (value: string) => void;
51
52
  pluginConfig?: MdEditorPluginConfig;
52
53
  }
53
- declare const MdEditor: FC<MdEditorProps>;
54
+ declare const PrivMdEditor: FC<MdEditorProps>;
55
+ export type MdEditorType = typeof PrivMdEditor & {
56
+ Preview: typeof MDXEditorPreview;
57
+ };
58
+ declare const MdEditor: MdEditorType;
54
59
  export default MdEditor;
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ export interface MDXEditorPreviewProps {
3
+ children?: string;
4
+ className?: string;
5
+ }
6
+ declare const MDXEditorPreview: FC<MDXEditorPreviewProps>;
7
+ export default MDXEditorPreview;
@@ -0,0 +1,2 @@
1
+ export declare const markdownEditorStyle: string;
2
+ export declare const markdownStyle: string;