@kgalexander/mcreate 0.0.5 → 0.0.7

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.
@@ -0,0 +1,15 @@
1
+ "use client";
2
+ import {
3
+ Editor,
4
+ History,
5
+ MAILLOW_EMAIL_EDITOR_VERSION,
6
+ Preview,
7
+ useEditorStore
8
+ } from "./chunk-4J3VEZPB.mjs";
9
+ export {
10
+ Editor,
11
+ History,
12
+ MAILLOW_EMAIL_EDITOR_VERSION,
13
+ Preview,
14
+ useEditorStore
15
+ };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,15 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
 
3
- declare function Editor(): react_jsx_runtime.JSX.Element;
3
+ interface EditorProps {
4
+ defaultContent?: string;
5
+ setEditorLoading?: (loading: boolean) => void;
6
+ editorLoading?: boolean;
7
+ }
8
+ declare function Editor({ setEditorLoading }: EditorProps): react_jsx_runtime.JSX.Element;
4
9
 
5
- export { Editor };
10
+ declare function TemplatePage({ templateId, initialTemplate }: {
11
+ templateId: string;
12
+ initialTemplate: any;
13
+ }): react_jsx_runtime.JSX.Element;
14
+
15
+ export { Editor, TemplatePage };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,15 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
 
3
- declare function Editor(): react_jsx_runtime.JSX.Element;
3
+ interface EditorProps {
4
+ defaultContent?: string;
5
+ setEditorLoading?: (loading: boolean) => void;
6
+ editorLoading?: boolean;
7
+ }
8
+ declare function Editor({ setEditorLoading }: EditorProps): react_jsx_runtime.JSX.Element;
4
9
 
5
- export { Editor };
10
+ declare function TemplatePage({ templateId, initialTemplate }: {
11
+ templateId: string;
12
+ initialTemplate: any;
13
+ }): react_jsx_runtime.JSX.Element;
14
+
15
+ export { Editor, TemplatePage };