UNPKG

slate-react

Version:

Tools for building completely customizable richtext editors with React.

11 lines • 429 B
import { ReactEditor } from '../plugin/react-editor'; export declare const EDITOR_TO_COMPOSING: WeakMap<ReactEditor, boolean>; /** * A React context for sharing the `composing` state of the editor. */ export declare const ComposingContext: import("react").Context<boolean>; /** * Get the current `composing` state of the editor. */ export declare const useComposing: () => boolean; //# sourceMappingURL=use-composing.d.ts.map