slate-react
Version: 
Tools for building completely customizable richtext editors with React.
12 lines • 419 B
TypeScript
/// <reference types="react" />
import { Editor } from 'slate';
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 useSlateStatic: () => Editor;
//# sourceMappingURL=use-slate-static.d.ts.map