main
js 16 lines 413 Bytes
Raw
1 /**
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 * @flow
8 */
9
10 import type {ReactContext} from 'shared/ReactTypes';
11
12 import {createContext} from 'react';
13
14 const TreeFocusedContext: ReactContext<boolean> = createContext<boolean>(false);
15
16 export default TreeFocusedContext;