@fileverse-dev/ddoc 2.0.2-patch-7 → 2.0.2-patch-8
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,9 @@
|
|
1
|
-
|
1
|
+
declare const ToolbarButton: import('react').ForwardRefExoticComponent<{
|
2
2
|
icon: string;
|
3
3
|
isActive: boolean;
|
4
4
|
onClick: () => void;
|
5
5
|
tooltip?: string;
|
6
6
|
classNames?: string;
|
7
|
-
ref?: React.LegacyRef<HTMLButtonElement> | undefined;
|
8
7
|
disabled?: boolean;
|
9
|
-
}
|
8
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
9
|
+
export default ToolbarButton;
|
@@ -1,10 +1,9 @@
|
|
1
|
+
import { default as React } from 'react';
|
1
2
|
import { Editor } from '@tiptap/core';
|
2
|
-
import { Dispatch, FC, SetStateAction } from 'react';
|
3
3
|
|
4
4
|
interface NodeSelectorProps {
|
5
5
|
editor: Editor;
|
6
|
-
|
7
|
-
setIsOpen: Dispatch<SetStateAction<boolean>>;
|
6
|
+
elementRef: React.RefObject<HTMLDivElement>;
|
8
7
|
}
|
9
|
-
export declare const NodeSelector:
|
8
|
+
export declare const NodeSelector: ({ editor, elementRef }: NodeSelectorProps) => import("react/jsx-runtime").JSX.Element;
|
10
9
|
export {};
|