@springmicro/rte 0.7.19 → 0.7.21

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,36 @@
1
+ import { BaseEditor } from 'slate';
2
+ import { Descendant } from 'slate';
3
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
4
+ import * as React_2 from 'react';
5
+ import { ReactEditor } from 'slate-react';
6
+
7
+ export declare function BlogEditor(props: BlogEditorProps): JSX_2.Element;
8
+
9
+ export declare type BlogEditorProps = {
10
+ springMicroSuiteUrl: string;
11
+ dbInterfaceUrl: string;
12
+ value?: Descendant[];
13
+ setValue?: React_2.Dispatch<React_2.SetStateAction<Descendant[]>>;
14
+ readOnly?: boolean;
15
+ editor?: BaseEditor & ReactEditor;
16
+ authToken: string;
17
+ repoName?: string;
18
+ };
19
+
20
+ export declare function InlineEditor(props: InlineEditorProps): JSX_2.Element;
21
+
22
+ export declare type InlineEditorProps = {
23
+ value?: Descendant[];
24
+ setValue?: React_2.Dispatch<React_2.SetStateAction<Descendant[]>>;
25
+ readOnly?: boolean;
26
+ editor?: BaseEditor & ReactEditor;
27
+ scrollElement?: HTMLElement;
28
+ };
29
+
30
+ export declare function PaperEditor(props: PaperEditorProps): JSX_2.Element;
31
+
32
+ export declare type PaperEditorProps = {
33
+ value?: Descendant[];
34
+ };
35
+
36
+ export { }