zs_library 0.3.15 → 0.3.17
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.
- package/dist/components/md-editor/index.d.ts +3 -1
- package/dist/components/md-editor/style.d.ts +3 -0
- package/dist/index.es.js +999 -1452
- package/dist/index.umd.js +249 -117
- package/package.json +21 -21
|
@@ -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 & {
|