Files
coopgo/node_modules/slate-react/dist/hooks/use-slate-static.d.ts
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

12 lines
430 B
TypeScript

/// <reference types="react" />
import { ReactEditor } from '../plugin/react-editor';
import { Editor } from 'slate';
/**
* A React context for sharing the editor object.
*/
export declare const EditorContext: import("react").Context<ReactEditor | null>;
/**
* Get the current editor object from the React context.
*/
export declare const useSlateStatic: () => Editor;
//# sourceMappingURL=use-slate-static.d.ts.map