@fileverse-dev/ddoc 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +1 -1
- package/dist/packages/ddoc/types.d.ts +2 -3
- package/package.json +1 -1
@@ -1,6 +1,5 @@
|
|
1
1
|
import { JSONContent } from '@tiptap/core';
|
2
2
|
import { EditorProps } from '@tiptap/pm/view';
|
3
|
-
import { Editor } from '@tiptap/react';
|
4
3
|
|
5
4
|
export declare const DdocEditorProps: EditorProps;
|
6
5
|
export interface DdocProps {
|
@@ -13,10 +12,10 @@ export interface DdocProps {
|
|
13
12
|
ensProviderUrl?: string;
|
14
13
|
username?: string | null;
|
15
14
|
renderToolLeftSection?: ({ editor }: {
|
16
|
-
editor:
|
15
|
+
editor: JSONContent;
|
17
16
|
}) => JSX.Element;
|
18
17
|
renderToolRightSection?: ({ editor }: {
|
19
|
-
editor:
|
18
|
+
editor: JSONContent;
|
20
19
|
}) => JSX.Element;
|
21
20
|
}
|
22
21
|
export interface Data {
|