Repository URL to install this package:
|
Version:
0.57.2 ▾
|
/// <reference types="react" />
import { ReactEditor } from '../plugin/react-editor';
/**
* 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 useEditor: () => ReactEditor;
//# sourceMappingURL=use-editor.d.ts.map