gemini-cli / packages /cli /src /ui /contexts /ShellFocusContext.tsx
SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
9332ccf verified
Raw
History Blame Contribute Delete
276 Bytes
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { createContext, useContext } from 'react';
export const ShellFocusContext = createContext<boolean>(true);
export const useShellFocusState = () => useContext(ShellFocusContext);