mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-29 00:20:04 +01:00
14 lines
537 B
TypeScript
14 lines
537 B
TypeScript
import "./extensions";
|
|
import { EditorOptions } from "@tiptap/react";
|
|
import Toolbar from "./toolbar";
|
|
import { Theme } from "@notesnook/theme";
|
|
import { AttachmentOptions } from "./extensions/attachment";
|
|
import { Editor } from "./types";
|
|
declare const useTiptap: (options?: Partial<EditorOptions & AttachmentOptions & {
|
|
theme: Theme;
|
|
}>, deps?: import("react").DependencyList) => Editor | null;
|
|
export { useTiptap, Toolbar };
|
|
export * from "./types";
|
|
export * from "./extensions/react";
|
|
export * from "./toolbar/tool-definitions";
|