slate-react
Version:
Tools for building completely customizable richtext editors with React.
10 lines • 324 B
TypeScript
/// <reference types="react" />
/**
* A React context for sharing the `focused` state of the editor.
*/
export declare const FocusedContext: import("react").Context<boolean>;
/**
* Get the current `focused` state of the editor.
*/
export declare const useFocused: () => boolean;
//# sourceMappingURL=use-focused.d.ts.map