UNPKG

@atlaskit/navigation-system

Version:

The latest navigation system for Atlassian apps.

9 lines (8 loc) • 369 B
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 const IsSideNavShortcutEnabledContext = /*#__PURE__*/createContext(false);