UNPKG

333 BTypeScriptView Raw
1/// <reference types="react" />
2/**
3 * A React context for sharing the `focused` state of the editor.
4 */
5export declare const FocusedContext: import("react").Context<boolean>;
6/**
7 * Get the current `focused` state of the editor.
8 */
9export declare const useFocused: () => boolean;
10//# sourceMappingURL=use-focused.d.ts.map
\No newline at end of file