mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-25 12:34:38 -07:00
12 lines
261 B
TypeScript
12 lines
261 B
TypeScript
|
|
/**
|
||
|
|
* @license
|
||
|
|
* Copyright 2025 Google LLC
|
||
|
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
|
*/
|
||
|
|
|
||
|
|
import { createContext, useContext } from 'react';
|
||
|
|
|
||
|
|
export const FocusContext = createContext<boolean>(true);
|
||
|
|
|
||
|
|
export const useFocusState = () => useContext(FocusContext);
|