zs_library 0.3.16 → 0.3.18

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,5 @@
1
1
  import { MDXEditorProps, ImageUploadHandler, ImagePreviewHandler, ViewMode, HEADING_LEVEL, CodeBlockEditorDescriptor, DirectiveDescriptor } from '@mdxeditor/editor';
2
- import { FC } from 'react';
2
+ import { FC, JSX } from 'react';
3
3
  import { default as MDXEditorPreview } from './preview';
4
4
  type Extension = {
5
5
  extension: Extension;
@@ -50,6 +50,8 @@ export interface MdEditorProps extends Omit<MDXEditorProps, "markdown" | "onChan
50
50
  value?: string;
51
51
  onChange?: (value: string) => void;
52
52
  pluginConfig?: MdEditorPluginConfig;
53
+ className?: string;
54
+ theme?: "light" | "dark" | "auto";
53
55
  }
54
56
  declare const PrivMdEditor: FC<MdEditorProps>;
55
57
  export type MdEditorType = typeof PrivMdEditor & {
@@ -1,2 +1,5 @@
1
+ export declare const markdownEditorDarkStyle: string;
1
2
  export declare const markdownEditorStyle: string;
2
3
  export declare const markdownStyle: string;
4
+ export declare const githubMarkdownLightStyle: string;
5
+ export declare const githubMarkdownDarkStyle: string;