@atlaskit/navigation-system
Version:
The latest navigation system for Atlassian apps.
9 lines (8 loc) • 367 B
JavaScript
import { createContext } from 'react';
/**
* Context for whether the side nav toggle shortcut is enabled.
*
* Used to share the `isSideNavShortcutEnabled` prop value from `Root` with other components,
* so the visual keyboard shortcut in tooltips can be conditionally displayed.
*/
export var IsSideNavShortcutEnabledContext = /*#__PURE__*/createContext(false);